Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4AtomicBond Class Reference

#include <G4AtomicBond.hh>

Public Types

enum  theBondType { Ionic =0, Covalent =1, Metallic =2, NA =-1 }
 

Public Member Functions

 G4AtomicBond (theBondType aType, G4Element *firstAtomKind, G4int firstAtomNumber, G4Element *secondAtomKind, G4int secondAtomNumber)
 
virtual ~G4AtomicBond ()
 
G4ElementGetFirstAtomKind () const
 
void SetFirstAtomKind (G4Element *aElement)
 
G4int GetFirstAtomNumber () const
 
void SetFirstAtomNumber (G4int aInt)
 
G4ElementGetSecondAtomKind () const
 
void SetSecondAtomKind (G4Element *aElement)
 
G4int GetSecondAtomNumber () const
 
void SetSecondAtomNumber (G4int aInt)
 
theBondType GetType () const
 
void SetType (theBondType aType)
 
G4bool GetAromaticity () const
 
void SetAromaticity (G4bool aBool)
 

Detailed Description

Definition at line 43 of file G4AtomicBond.hh.

Member Enumeration Documentation

Enumerator
Ionic 
Covalent 
Metallic 
NA 

Definition at line 46 of file G4AtomicBond.hh.

Constructor & Destructor Documentation

G4AtomicBond::G4AtomicBond ( theBondType  aType,
G4Element firstAtomKind,
G4int  firstAtomNumber,
G4Element secondAtomKind,
G4int  secondAtomNumber 
)

Definition at line 38 of file G4AtomicBond.cc.

42  :
43 theFirstAtomKind(firstAtomKind),
44 theFirstAtomNumber(firstAtomNumber),
45 theSecondAtomKind(secondAtomKind),
46 theSecondAtomNumber(secondAtomNumber),
47 theType(aType),
48 theAromaticity(0){;}
G4AtomicBond::~G4AtomicBond ( )
virtual

Definition at line 52 of file G4AtomicBond.cc.

52 {;}

Member Function Documentation

G4bool G4AtomicBond::GetAromaticity ( ) const
inline

Definition at line 101 of file G4AtomicBond.hh.

101 {return theAromaticity;};
G4Element* G4AtomicBond::GetFirstAtomKind ( ) const
inline

Definition at line 71 of file G4AtomicBond.hh.

71 {return theFirstAtomKind;};
G4int G4AtomicBond::GetFirstAtomNumber ( ) const
inline

Definition at line 74 of file G4AtomicBond.hh.

74 {return theFirstAtomNumber;};
G4Element* G4AtomicBond::GetSecondAtomKind ( ) const
inline

Definition at line 77 of file G4AtomicBond.hh.

77 {return theSecondAtomKind;};
G4int G4AtomicBond::GetSecondAtomNumber ( ) const
inline

Definition at line 80 of file G4AtomicBond.hh.

80 {return theSecondAtomNumber;};
theBondType G4AtomicBond::GetType ( ) const
inline

Definition at line 91 of file G4AtomicBond.hh.

91 {return theType;};
void G4AtomicBond::SetAromaticity ( G4bool  aBool)
inline

Definition at line 102 of file G4AtomicBond.hh.

102 {theAromaticity=aBool;};
void G4AtomicBond::SetFirstAtomKind ( G4Element aElement)
inline

Definition at line 72 of file G4AtomicBond.hh.

72 {theFirstAtomKind=aElement;};
void G4AtomicBond::SetFirstAtomNumber ( G4int  aInt)
inline

Definition at line 75 of file G4AtomicBond.hh.

75 {theFirstAtomNumber=aInt;};
void G4AtomicBond::SetSecondAtomKind ( G4Element aElement)
inline

Definition at line 78 of file G4AtomicBond.hh.

78 {theSecondAtomKind=aElement;};
void G4AtomicBond::SetSecondAtomNumber ( G4int  aInt)
inline

Definition at line 81 of file G4AtomicBond.hh.

81 {theSecondAtomNumber=aInt;};
void G4AtomicBond::SetType ( theBondType  aType)
inline

Definition at line 92 of file G4AtomicBond.hh.

92 {theType=aType;};

The documentation for this class was generated from the following files: