![]() |
Chemical Data Processing Library Python API - Version 1.2.3
|
A global dictionary for the lookup of meta-data associated with the residues in biological macromolecules. More...
Inheritance diagram for CDPL.Biomol.ResidueDictionary: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... | |
| str | getReplacedCode (str code) |
| str | getReplacedByCode (str code) |
| str | getParentCode (str code) |
| str | getOneLetterCode (str code) |
| bool | isObsolete (str code) |
| str | getName (str code) |
| int | getType (str code) |
| Chem.MolecularGraph | getStructure (str code) |
Static Public Member Functions | |
| None | set (ResidueDictionary dict) |
| ResidueDictionary | get () |
| bool | isStdResidue (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> |
| str CDPL.Biomol.ResidueDictionary.getReplacedCode | ( | str | code | ) |
| arg1 | |
| code |
| str CDPL.Biomol.ResidueDictionary.getReplacedByCode | ( | str | code | ) |
| arg1 | |
| code |
| str CDPL.Biomol.ResidueDictionary.getParentCode | ( | str | code | ) |
| arg1 | |
| code |
| str CDPL.Biomol.ResidueDictionary.getOneLetterCode | ( | str | code | ) |
| arg1 | |
| code |
| bool CDPL.Biomol.ResidueDictionary.isObsolete | ( | str | code | ) |
| arg1 | |
| code |
| str CDPL.Biomol.ResidueDictionary.getName | ( | str | code | ) |
| arg1 | |
| code |
|
static |
| code |
| int CDPL.Biomol.ResidueDictionary.getType | ( | str | code | ) |
| arg1 | |
| code |
| Chem.MolecularGraph CDPL.Biomol.ResidueDictionary.getStructure | ( | str | code | ) |
| arg1 | |
| code |