NAMD
Public Member Functions | Public Attributes | List of all members
idIndxStr Struct Reference

Public Member Functions

 idIndxStr ()
 
 idIndxStr (int newID, int newIndx)
 
 idIndxStr (const idIndxStr &ref)
 
idIndxStroperator= (const idIndxStr &ref)
 
bool operator== (const idIndxStr &ref) const
 
bool operator!= (const idIndxStr &ref) const
 
bool operator< (const idIndxStr &ref)
 

Public Attributes

int ID
 
int indx
 

Detailed Description

Definition at line 204 of file ComputeQM.C.

Constructor & Destructor Documentation

idIndxStr::idIndxStr ( )
inline

Definition at line 208 of file ComputeQM.C.

References ID, and indx.

208  {
209  ID = -1;
210  indx = -1;
211  };
int indx
Definition: ComputeQM.C:206
idIndxStr::idIndxStr ( int  newID,
int  newIndx 
)
inline

Definition at line 212 of file ComputeQM.C.

References ID, and indx.

212  {
213  ID = newID;
214  indx = newIndx;
215  }
int indx
Definition: ComputeQM.C:206
idIndxStr::idIndxStr ( const idIndxStr ref)
inline

Definition at line 216 of file ComputeQM.C.

References ID, and indx.

216  {
217  ID = ref.ID ;
218  indx = ref.indx;
219  }
int indx
Definition: ComputeQM.C:206

Member Function Documentation

bool idIndxStr::operator!= ( const idIndxStr ref) const
inline

Definition at line 230 of file ComputeQM.C.

230  {
231  return !(*this == ref);
232  }
bool idIndxStr::operator< ( const idIndxStr ref)
inline

Definition at line 238 of file ComputeQM.C.

References ID.

238 {return ID < ref.ID;}
idIndxStr& idIndxStr::operator= ( const idIndxStr ref)
inline

Definition at line 221 of file ComputeQM.C.

References ID, and indx.

221  {
222  ID = ref.ID ;
223  indx = ref.indx;
224  return *this;
225  }
int indx
Definition: ComputeQM.C:206
bool idIndxStr::operator== ( const idIndxStr ref) const
inline

Definition at line 227 of file ComputeQM.C.

References ID, and indx.

227  {
228  return (ID == ref.ID && indx == ref.indx);
229  }
int indx
Definition: ComputeQM.C:206

Member Data Documentation

int idIndxStr::ID

Definition at line 205 of file ComputeQM.C.

Referenced by idIndxStr(), operator<(), operator=(), and operator==().

int idIndxStr::indx

Definition at line 206 of file ComputeQM.C.

Referenced by idIndxStr(), operator=(), and operator==().


The documentation for this struct was generated from the following file: