Chemical Data Processing Library Python API - Version 1.1.1
|
A global dictionary for the lookup of meta-data associated with the residues in biological macromolecules. More...
Classes | |
class | Entry |
Public Member Functions | |
None | __init__ () |
Initializes the ResidueDictionary instance. | |
None | __init__ (ResidueDictionary dict) |
Initializes a copy of the ResidueDictionary instance dict. More... | |
int | getObjectID () |
Returns the numeric identifier (ID) of the wrapped C++ class instance. More... | |
None | addEntry (Entry entry) |
bool | containsEntry (str code) |
None | removeEntry (str code) |
Entry | getEntry (str code) |
None | clear () |
int | getNumEntries () |
list | getEntries () |
None | loadDefaults () |
ResidueDictionary | assign (ResidueDictionary dict) |
Replaces the current state of self with a copy of the state of the ResidueDictionary instance dict. More... | |
Static Public Member Functions | |
None | set (ResidueDictionary dict) |
ResidueDictionary | get () |
str | getReplacedCode (str code) |
str | getReplacedByCode (str code) |
bool | isObsolete (str code) |
str | getName (str code) |
bool | isStdResidue (str code) |
int | getType (str code) |
Chem.MolecularGraph | getStructure (str code) |
Properties | |
objectID = property(getObjectID) | |
numEntries = property(getNumEntries) | |
entries = property(getEntries) | |
A global dictionary for the lookup of meta-data associated with the residues in biological macromolecules.
None CDPL.Biomol.ResidueDictionary.__init__ | ( | ResidueDictionary | dict | ) |
Initializes a copy of the ResidueDictionary instance dict.
dict | The ResidueDictionary instance to copy. |
int CDPL.Biomol.ResidueDictionary.getObjectID | ( | ) |
Returns the numeric identifier (ID) of the wrapped C++ class instance.
Different Python ResidueDictionary instances may reference the same underlying C++ class instance. The commonly used Python expression a is not b
thus cannot tell reliably whether the two ResidueDictionary instances a and b reference different C++ objects. The numeric identifier returned by this method allows to correctly implement such an identity test via the simple expression a.getObjectID() != b.getObjectID()
.
None CDPL.Biomol.ResidueDictionary.addEntry | ( | Entry | entry | ) |
entry |
bool CDPL.Biomol.ResidueDictionary.containsEntry | ( | str | code | ) |
code |
None CDPL.Biomol.ResidueDictionary.removeEntry | ( | str | code | ) |
code |
Entry CDPL.Biomol.ResidueDictionary.getEntry | ( | str | code | ) |
code |
int CDPL.Biomol.ResidueDictionary.getNumEntries | ( | ) |
list CDPL.Biomol.ResidueDictionary.getEntries | ( | ) |
ResidueDictionary CDPL.Biomol.ResidueDictionary.assign | ( | ResidueDictionary | dict | ) |
Replaces the current state of self with a copy of the state of the ResidueDictionary instance dict.
dict | The ResidueDictionary instance to copy. |
|
static |
dict |
|
static |
<br> |
|
static |
code |
|
static |
code |
|
static |
code |
|
static |
code |
|
static |
code |
|
static |
code |
|
static |
code |