|
| | SubstanceGroup ()=delete |
| | No default constructor.
|
| |
| | SubstanceGroup (ROMol *owning_mol, const std::string &type) |
| |
| | SubstanceGroup (const SubstanceGroup &other)=default |
| |
| SubstanceGroup & | operator= (const SubstanceGroup &other)=default |
| |
| | SubstanceGroup (SubstanceGroup &&other) noexcept |
| |
| SubstanceGroup & | operator= (SubstanceGroup &&other) noexcept |
| |
| | ~SubstanceGroup ()=default |
| | Destructor.
|
| |
| bool | hasOwningMol () const |
| | returns whether or not this belongs to a molecule
|
| |
| ROMol & | getOwningMol () const |
| | Get the molecule that owns this instance.
|
| |
| bool | getIsValid () const |
| |
| void | setIsValid (bool isValid) |
| | set whether or not this group is valid; invalid groups must be ignored.
|
| |
| unsigned int | getIndexInMol () const |
| |
| void | addAtomWithIdx (unsigned int idx) |
| |
| void | addParentAtomWithIdx (unsigned int idx) |
| |
| void | addBondWithIdx (unsigned int idx) |
| |
| void | addAtomWithBookmark (int mark) |
| |
| void | addParentAtomWithBookmark (int mark) |
| |
| void | addBondWithBookmark (int mark) |
| |
| void | removeAtomWithIdx (unsigned int idx) |
| |
| void | removeParentAtomWithIdx (unsigned int idx) |
| |
| void | removeBondWithIdx (unsigned int idx) |
| |
| void | addBracket (const Bracket &bracket) |
| |
| void | addCState (unsigned int bondIdx, const RDGeom::Point3D &vector) |
| |
| void | addAttachPoint (unsigned int aIdx, int lvIdx, const std::string &idStr) |
| |
| BondType | getBondType (unsigned int bondIdx) const |
| |
| const std::vector< unsigned int > & | getAtoms () const |
| |
| const std::vector< unsigned int > & | getParentAtoms () const |
| |
| const std::vector< unsigned int > & | getBonds () const |
| |
| void | setAtoms (std::vector< unsigned int > atoms) |
| |
| void | setParentAtoms (std::vector< unsigned int > patoms) |
| |
| void | setBonds (std::vector< unsigned int > bonds) |
| |
| const std::vector< Bracket > & | getBrackets () const |
| |
| const std::vector< CState > & | getCStates () const |
| |
| const std::vector< AttachPoint > & | getAttachPoints () const |
| |
| std::vector< Bracket > & | getBrackets () |
| |
| std::vector< CState > & | getCStates () |
| |
| std::vector< AttachPoint > & | getAttachPoints () |
| |
| void | clearBrackets () |
| |
| void | clearCStates () |
| |
| void | clearAttachPoints () |
| |
| bool | adjustToRemovedAtom (unsigned int atomIdx) |
| |
| bool | includesAtom (unsigned int atomIdx) const |
| |
| bool | adjustToRemovedBond (unsigned int bondIdx) |
| |
| bool | includesBond (unsigned int bondIdx) const |
| |
| void | setOwningMol (ROMol *mol) |
| |
| bool | operator== (const SubstanceGroup &other) const |
| |
| | RDProps () |
| |
| | RDProps (const RDProps &rhs) |
| |
| RDProps & | operator= (const RDProps &rhs) |
| |
| | RDProps (RDProps &&o) noexcept=default |
| |
| RDProps & | operator= (RDProps &&rhs) noexcept=default |
| |
| void | clear () |
| |
| const Dict & | getDict () const |
| | gets the underlying Dictionary
|
| |
| Dict & | getDict () |
| |
| STR_VECT | getPropList (bool includePrivate=true, bool includeComputed=true) const |
| | returns a list with the names of our properties
|
| |
| template<typename T > |
| void | setProp (const std::string &key, T val, bool computed=false) const |
| | sets a property value
|
| |
| template<typename T > |
| void | getProp (const std::string &key, T &res) const |
| | allows retrieval of a particular property value
|
| |
| template<typename T > |
| T | getProp (const std::string &key) const |
| | This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
| |
| template<typename T > |
| bool | getPropIfPresent (const std::string &key, T &res) const |
| |
| bool | hasProp (const std::string &key) const |
| | This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
| |
| void | clearProp (const std::string &key) const |
| | clears the value of a property
|
| |
| void | clearComputedProps () const |
| | clears all of our computed properties
|
| |
| void | updateProps (const RDProps &source, bool preserveExisting=false) |
| | update the properties from another
|
| |
The class for representing SubstanceGroups.
Notes:
Definition at line 55 of file SubstanceGroup.h.