OpenStructure
|
#include <compound.hh>
Public Types | |
enum | Dialect { PDB = 'P', CHARMM = 'C', OPLS = 'O', AMBER = 'A' } |
Public Member Functions | |
Compound (const String &id) | |
const String & | GetID () const |
Dialect | GetDialect () const |
String | GetDialectAsString () const |
void | SetDialect (Dialect dialect) |
void | SetOneLetterCode (char olc) |
char | GetOneLetterCode () const |
void | SetChemClass (mol::ChemClass chem_class) |
mol::ChemClass | GetChemClass () const |
bool | IsPeptideLinking () const |
void | AddAtom (const AtomSpec &atom) |
void | AddBond (const BondSpec &bond) |
const AtomSpecList & | GetAtomSpecs () const |
int | GetAtomSpecIndex (const String &name) const |
const String & | GetFormula () |
void | SetFormula (const String &formula) |
const BondSpecList & | GetBondSpecs () const |
const Date & | GetModificationDate () const |
const Date & | GetCreationDate () const |
void | SetModificationDate (const Date &mod_date) |
void | SetCreationDate (const Date &creation_date) |
Knows about the atoms and bonds of a chemical compounds.
Definition at line 113 of file compound.hh.
enum Dialect |
Definition at line 115 of file compound.hh.
Definition at line 122 of file compound.hh.
|
inline |
Definition at line 172 of file compound.hh.
|
inline |
Definition at line 176 of file compound.hh.
int GetAtomSpecIndex | ( | const String & | name | ) | const |
|
inline |
Definition at line 180 of file compound.hh.
|
inline |
Definition at line 190 of file compound.hh.
|
inline |
Definition at line 165 of file compound.hh.
|
inline |
Definition at line 197 of file compound.hh.
|
inline |
Definition at line 130 of file compound.hh.
|
inline |
Definition at line 132 of file compound.hh.
|
inline |
Definition at line 186 of file compound.hh.
|
inline |
three-letter code that is unique for every compound
Definition at line 127 of file compound.hh.
|
inline |
Definition at line 193 of file compound.hh.
|
inline |
one letter code, if available.
For compounds without a defined one-letter code, the code is set to "?". One letter codes are ambigous. For instance, both glycine and guanosine have G as their one-letter code.
Definition at line 157 of file compound.hh.
|
inline |
Definition at line 169 of file compound.hh.
|
inline |
Definition at line 161 of file compound.hh.
|
inline |
Definition at line 207 of file compound.hh.
|
inline |
Definition at line 146 of file compound.hh.
|
inline |
Definition at line 188 of file compound.hh.
|
inline |
Definition at line 202 of file compound.hh.
|
inline |
Definition at line 148 of file compound.hh.