![]() |
RDKit
Open-source cheminformatics and machine learning.
|
#include <MacroMolTemplate.h>
Public Member Functions | |
| MacroMolTemplate (const MacroMolTemplate &)=default | |
| MacroMolTemplate (MacroMolTemplate &&) noexcept=default | |
| MacroMolTemplate & | operator= (const MacroMolTemplate &)=default |
| MacroMolTemplate & | operator= (MacroMolTemplate &&)=default |
| const ROMol & | getMol () const |
| Returns a read-only view of the underlying template molecule. | |
| MonomerClass | getMonomerClass () const |
| Returns the monomer class used for lookup and the main SGroup CLASS. | |
| const std::string & | getName () const |
| Returns the name, e.g. "ALA". | |
| const std::string & | getSymbol () const |
| Returns the template symbol, e.g. "A" for alanine. | |
| const std::string & | getOriginalData () const |
| Returns the original template definition (SMILES, SDF, etc.). | |
| const std::string & | getSubclass () const |
| Returns the SCSR subclass, or an empty string if unspecified. | |
| const std::vector< unsigned int > & | getMainAtomIdxs () const |
| Returns the atom indices belonging to the retained monomer group. | |
| const std::vector< MacroMolLeavingGroup > & | getLeavingGroups () const |
| Returns the typed leaving-group definitions. | |
| const SubstanceGroup & | getMainSgroup () const |
| Returns the main SUP SGroup mirrored onto the owned molecule. | |
Friends | |
| class | MacroMolTemplateBuilder |
A logically read-only, annotated molecule template for a macromolecule monomer.
The typed main- and leaving-group definitions are authoritative. The owned molecule mirrors those definitions as SUP SGroups for RDKit I/O. Accessors follow RDKit's normal const semantics, including its legacy owning-molecule back-references.
Definition at line 53 of file MacroMolTemplate.h.
|
default |
References MacroMolTemplate().
Referenced by MacroMolTemplate(), MacroMolTemplate(), MacroMolTemplateBuilder, operator=(), and operator=().
|
defaultnoexcept |
References MacroMolTemplate().
|
inline |
Returns the typed leaving-group definitions.
Definition at line 77 of file MacroMolTemplate.h.
|
inline |
Returns the atom indices belonging to the retained monomer group.
Definition at line 73 of file MacroMolTemplate.h.
| const SubstanceGroup & RDKit::MacroMolTemplate::getMainSgroup | ( | ) | const |
Returns the main SUP SGroup mirrored onto the owned molecule.
|
inline |
Returns a read-only view of the underlying template molecule.
Definition at line 61 of file MacroMolTemplate.h.
References getMol().
Referenced by getMol().
|
inline |
Returns the monomer class used for lookup and the main SGroup CLASS.
Definition at line 63 of file MacroMolTemplate.h.
|
inline |
Returns the name, e.g. "ALA".
Definition at line 65 of file MacroMolTemplate.h.
|
inline |
Returns the original template definition (SMILES, SDF, etc.).
Definition at line 69 of file MacroMolTemplate.h.
|
inline |
Returns the SCSR subclass, or an empty string if unspecified.
Definition at line 71 of file MacroMolTemplate.h.
|
inline |
Returns the template symbol, e.g. "A" for alanine.
Definition at line 67 of file MacroMolTemplate.h.
|
default |
References MacroMolTemplate().
|
default |
References MacroMolTemplate().
|
friend |
Definition at line 84 of file MacroMolTemplate.h.
References MacroMolTemplate(), MacroMolTemplateBuilder, and symbol.
Referenced by MacroMolTemplateBuilder.