#include <G4MoleculeID.hh>
Public Member Functions | |
| G4MoleculeID (const int d_) | |
| G4MoleculeID () | |
| G4MoleculeID (const G4MoleculeID &d_) | |
| G4MoleculeID & | operator= (const G4MoleculeID &rhs) |
| G4MoleculeID & | operator= (const int &rhs) |
| operator int & () | |
| operator const int & () const | |
| bool | operator== (const G4MoleculeID &rhs) const |
| bool | operator== (const int &rhs) const |
| bool | operator< (const G4MoleculeID &rhs) const |
Static Public Member Functions | |
| static int | Last () |
| static G4MoleculeID | Create () |
| static G4MoleculeID | Initialize (int i) |
Friends | |
| G4MoleculeID | operator+ (const G4MoleculeID &left, const int &right) |
| G4MoleculeID | operator- (const G4MoleculeID &left, const int &right) |
Definition at line 41 of file G4MoleculeID.hh.
| G4MoleculeID::G4MoleculeID | ( | const int | d_ | ) | [inline] |
| G4MoleculeID::G4MoleculeID | ( | ) | [inline] |
| G4MoleculeID::G4MoleculeID | ( | const G4MoleculeID & | d_ | ) | [inline] |
| static G4MoleculeID G4MoleculeID::Create | ( | ) | [inline, static] |
Definition at line 57 of file G4MoleculeID.hh.
References G4MoleculeID().
00058 { 00059 fLastValue ++; 00060 return G4MoleculeID(fLastValue); 00061 }
| static G4MoleculeID G4MoleculeID::Initialize | ( | int | i | ) | [inline, static] |
Definition at line 63 of file G4MoleculeID.hh.
References G4MoleculeID().
00064 { 00065 fLastValue = i; 00066 return G4MoleculeID(i); 00067 }
| static int G4MoleculeID::Last | ( | ) | [inline, static] |
| G4MoleculeID::operator const int & | ( | ) | const [inline] |
| G4MoleculeID::operator int & | ( | ) | [inline] |
| bool G4MoleculeID::operator< | ( | const G4MoleculeID & | rhs | ) | const [inline] |
Definition at line 79 of file G4MoleculeID.hh.
References fValue.
00079 { return fValue < rhs.fValue; }
| G4MoleculeID& G4MoleculeID::operator= | ( | const int & | rhs | ) | [inline] |
| G4MoleculeID& G4MoleculeID::operator= | ( | const G4MoleculeID & | rhs | ) | [inline] |
Definition at line 73 of file G4MoleculeID.hh.
References fValue.
00073 { this->fValue = rhs.fValue; return *this;}
| bool G4MoleculeID::operator== | ( | const int & | rhs | ) | const [inline] |
| bool G4MoleculeID::operator== | ( | const G4MoleculeID & | rhs | ) | const [inline] |
Definition at line 77 of file G4MoleculeID.hh.
References fValue.
00077 { return fValue == rhs.fValue; }
| G4MoleculeID operator+ | ( | const G4MoleculeID & | left, | |
| const int & | right | |||
| ) | [friend] |
| G4MoleculeID operator- | ( | const G4MoleculeID & | left, | |
| const int & | right | |||
| ) | [friend] |
1.4.7