idIndxStr Struct Reference

List of all members.

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.

00208                 {
00209         ID = -1;
00210         indx = -1;
00211     };

idIndxStr::idIndxStr ( int  newID,
int  newIndx 
) [inline]

Definition at line 212 of file ComputeQM.C.

References ID, and indx.

00212                                       {
00213         ID = newID;
00214         indx = newIndx;
00215     }

idIndxStr::idIndxStr ( const idIndxStr ref  )  [inline]

Definition at line 216 of file ComputeQM.C.

References ID, and indx.

00216                                     {
00217         ID = ref.ID ;
00218         indx = ref.indx;
00219     }


Member Function Documentation

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

Definition at line 230 of file ComputeQM.C.

00230                                                 {
00231         return !(*this == ref);
00232     }

bool idIndxStr::operator< ( const idIndxStr ref  )  [inline]

Definition at line 238 of file ComputeQM.C.

References ID.

00238 {return ID < ref.ID;}

idIndxStr& idIndxStr::operator= ( const idIndxStr ref  )  [inline]

Definition at line 221 of file ComputeQM.C.

References ID, and indx.

00221                                                {
00222         ID = ref.ID ;
00223         indx = ref.indx;
00224         return *this;
00225     }

bool idIndxStr::operator== ( const idIndxStr ref  )  const [inline]

Definition at line 227 of file ComputeQM.C.

References ID, and indx.

00227                                                 {
00228         return (ID == ref.ID && indx == ref.indx);
00229     }


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:
Generated on Mon Sep 25 01:17:18 2017 for NAMD by  doxygen 1.4.7