Victor
|
Defines chemical and abstract bonds between objects which are compositions of atoms. More...
Public Member Functions | |
virtual void | bindIn (Atom &_this, Bond &c, Atom &_other) |
virtual void | bindIn (SimpleBond &c) |
virtual void | bindOut (Atom &_this, Bond &c, Atom &_other) |
virtual void | bindOut (SimpleBond &c) |
void | copy (const Bond &orig) |
virtual void | copy (const SimpleBond &orig) |
virtual const SimpleBond & | getInBond (unsigned int n) const |
virtual SimpleBond & | getInBond (unsigned int n) |
virtual Atom & | getInBondRef (unsigned int n) |
unsigned int | getMaxInBonds () const |
unsigned int | getMaxOutBonds () const |
virtual Atom & | getOpenInBondRef (unsigned int n=0) |
virtual Atom & | getOpenOutBondRef (unsigned int n=0) |
virtual const SimpleBond & | getOutBond (unsigned int n) const |
virtual SimpleBond & | getOutBond (unsigned int n) |
virtual Atom & | getOutBondRef (unsigned int n) |
virtual string | getType () const |
bool | isBond (const SimpleBond &c) const |
bool | isInBond (const SimpleBond &c) const |
bool | isIndirectBond (const SimpleBond &c) const |
bool | isIndirectInBond (const SimpleBond &c) const |
bool | isIndirectOutBond (const SimpleBond &c) const |
bool | isOutBond (const SimpleBond &c) const |
bool | isTorsionBond (const SimpleBond &c) const |
void | setMaxInBonds (unsigned int m) |
void | setMaxOutBonds (unsigned int m) |
virtual void | setType (string _name) |
unsigned int | sizeInBonds () const |
unsigned int | sizeOpenInBonds () const |
unsigned int | sizeOpenOutBonds () const |
unsigned int | sizeOutBonds () const |
virtual void | unbindIn (Bond &c) |
virtual void | unbindIn (SimpleBond &c) |
virtual void | unbindOut (Bond &c) |
virtual void | unbindOut (SimpleBond &c) |
Protected Member Functions | |
virtual void | pUnbindIn (SimpleBond &c) |
virtual void | pUnbindOut (SimpleBond &c) |
Defines chemical and abstract bonds between objects which are compositions of atoms.
Eg. 'bond' between two amino acids.
In-going bond from this to c, from this' atom _this to c's _other atom.
atom | reference, bond reference, atom reference |
|
virtualinherited |
Sets and in-bond from this to c.
Reimplemented in Atom.
Out-going bond from this to c, from this' atom _this to c's _other atom.
atom | reference, bond reference, atom reference |
|
virtualinherited |
Sets and out-bond from this to c
Reimplemented in Atom.
void copy | ( | const Bond & | orig | ) |
Copy operator. Attention: copy() strips orig from its bonds and attaches them to the new bond.
bond | reference |
|
virtualinherited |
Copy operator. Attention: copy() strips orig from its bonds and attaches them to the new bond.
|
virtualinherited |
|
virtualinherited |
|
virtual |
|
inherited |
Get maximum of in-bonds.
|
inherited |
Get maximum of out-bonds.
|
virtual |
|
virtual |
|
virtualinherited |
|
virtualinherited |
|
virtual |
|
virtualinherited |
Is c bonded to this ?
Reimplemented in SideChain.
|
inherited |
Is c bonded to this ?
|
inherited |
Is c in-bonded to this ?
|
inherited |
Checks if this is indirectly bonded to c. (ie. A to C if A bond B and B bond C)
|
inherited |
Checks if this is indirectly bonded to c. (ie. A to C if A bond B and B bond C)
|
inherited |
Checks if this is indirectly bonded to c. (ie. A to C if A bond B and B bond C)
|
inherited |
Is c out-bonded to this ?
|
inherited |
Checks if this is torsion bond to c. (ie. A to D if A indirect bond C and C bond D)
|
protectedvirtualinherited |
Private method to find the matching in-bond from c to this to remove.
|
protectedvirtualinherited |
Private method to find the matching out-bond from c to this to remove.
|
inherited |
Sets maximum of in-bonds.
|
inherited |
Sets maximum of out-bonds.
|
virtualinherited |
Sets type (eg. C atom, GLY amino acid, etc.) of this.
Reimplemented in AminoAcid, Atom, and Nucleotide.
|
inherited |
How many in-bonds are there ?
unsigned int sizeOpenInBonds | ( | ) | const |
Returns the number of open in-bonds, ie. how many in-bonds can still be added.
void |
unsigned int sizeOpenOutBonds | ( | ) | const |
Returns the number of open out-bonds, ie. how many out-bonds can still be added.
void |
|
inherited |
How many out-bonds are there ?
|
virtual |
Remove in-going bond from this to c.
bond | reference |
|
virtualinherited |
Removes an in-bond from this to c.
Reimplemented in Atom.
|
virtual |
Remove out-going bond from this to c.
bond | reference |
|
virtualinherited |
Removes an out-bond from this to c.
Reimplemented in Atom.