RDKit
Open-source cheminformatics and machine learning.
RDKit::MarvinSruCoModSgroup Class Reference

#include <MarvinDefs.h>

Inheritance diagram for RDKit::MarvinSruCoModSgroup:
RDKit::MarvinMolBase

Public Member Functions

 MarvinSruCoModSgroup (std::string type, MarvinMolBase *parent)
 
 MarvinSruCoModSgroup (MarvinMolBase *parent, std::string role, ptree &molTree)
 
MarvinMolBasecopyMol (const std::string &idAppend) const override
 
std::string toString () const override
 
ptree toPtree () const override
 
std::string role () const override
 
bool hasAtomBondBlocks () const override
 
void parseMoleculeSpecific (RDKit::RWMol *mol, std::unique_ptr< SubstanceGroup > &sgroup, int sequenceId) override
 
- Public Member Functions inherited from RDKit::MarvinMolBase
virtual std::string role () const =0
 
virtual bool hasAtomBondBlocks () const =0
 
virtual std::string toString () const =0
 
virtual ptree toPtree () const
 
void addSgroupsToPtree (ptree &pt) const
 
virtual MarvinMolBasecopyMol (const std::string &idAppend) const =0
 
virtual void pushOwnedAtom (MarvinAtom *atom)
 
virtual void pushOwnedBond (MarvinBond *bond)
 
virtual void removeOwnedAtom (MarvinAtom *atom)
 
virtual void removeOwnedBond (MarvinBond *bond)
 
int getExplicitValence (const MarvinAtom &marvinAtom) const
 
 MarvinMolBase ()
 
virtual ~MarvinMolBase ()
 
int getAtomIndex (std::string id) const
 
int getBondIndex (std::string id) const
 
const std::vector< std::string > getBondList () const
 
const std::vector< std::string > getAtomList () const
 
bool AnyOverLappingAtoms (const MarvinMolBase *otherMol) const
 
void cleanUpNumbering (int &molCount, int &atomCount, int &bondCount, int &sgCount, std::map< std::string, std::string > &sgMap, std::map< std::string, std::string > &atomMap, std::map< std::string, std::string > &bondMap)
 
virtual void cleanUpNumberingMolsAtomsBonds (int &molCount, int &atomCount, int &bondCount, std::map< std::string, std::string > &sgMap, std::map< std::string, std::string > &atomMap, std::map< std::string, std::string > &bondMap)
 
void cleanUpSgNumbering (int &sgCount, std::map< std::string, std::string > &sgMap)
 
virtual IsSgroupInAtomSetResult isSgroupInSetOfAtoms (const std::vector< MarvinAtom * > &setOfAtoms) const
 
MarvinAtomfindAtomByRef (std::string atomId)
 
MarvinBondfindBondByRef (std::string atomId)
 
void clearMaps ()
 
void prepSgroupsForRDKit ()
 
void processSgroupsFromRDKit ()
 
virtual bool isPassiveRoleForExpansion () const
 
virtual bool isPassiveRoleForContraction () const
 
virtual void processSpecialSgroups ()
 
virtual void parseMoleculeSpecific (RDKit::RWMol *mol, std::unique_ptr< SubstanceGroup > &sgroup, int sequenceId)
 
bool has2dCoords () const
 
bool has3dCoords () const
 
bool hasAny3dCoords () const
 
bool hasAny2dCoords () const
 
bool hasCoords () const
 
void removeCoords ()
 
void parseAtomsAndBonds (ptree &molTree)
 

Public Attributes

std::string title
 
std::string connect
 
std::string correspondence
 
- Public Attributes inherited from RDKit::MarvinMolBase
std::string molID
 
std::string id
 
std::vector< MarvinAtom * > atoms
 
std::vector< MarvinBond * > bonds
 
std::vector< std::unique_ptr< MarvinMolBase > > sgroups
 
MarvinMolBaseparent
 

Additional Inherited Members

- Static Public Member Functions inherited from RDKit::MarvinMolBase
static bool atomRefInAtoms (MarvinAtom *a, std::string b)
 
static bool bondRefInBonds (MarvinBond *a, std::string b)
 
static bool molIDInSgroups (std::string a, std::string b)
 

Detailed Description

Definition at line 360 of file MarvinDefs.h.

Constructor & Destructor Documentation

◆ MarvinSruCoModSgroup() [1/2]

RDKit::MarvinSruCoModSgroup::MarvinSruCoModSgroup ( std::string  type,
MarvinMolBase parent 
)

◆ MarvinSruCoModSgroup() [2/2]

RDKit::MarvinSruCoModSgroup::MarvinSruCoModSgroup ( MarvinMolBase parent,
std::string  role,
ptree &  molTree 
)

Member Function Documentation

◆ copyMol()

MarvinMolBase * RDKit::MarvinSruCoModSgroup::copyMol ( const std::string &  idAppend) const
overridevirtual

Implements RDKit::MarvinMolBase.

◆ hasAtomBondBlocks()

bool RDKit::MarvinSruCoModSgroup::hasAtomBondBlocks ( ) const
overridevirtual

Implements RDKit::MarvinMolBase.

◆ parseMoleculeSpecific()

void RDKit::MarvinSruCoModSgroup::parseMoleculeSpecific ( RDKit::RWMol mol,
std::unique_ptr< SubstanceGroup > &  sgroup,
int  sequenceId 
)
overridevirtual

Reimplemented from RDKit::MarvinMolBase.

◆ role()

std::string RDKit::MarvinSruCoModSgroup::role ( ) const
overridevirtual

Implements RDKit::MarvinMolBase.

◆ toPtree()

ptree RDKit::MarvinSruCoModSgroup::toPtree ( ) const
overridevirtual

Reimplemented from RDKit::MarvinMolBase.

◆ toString()

std::string RDKit::MarvinSruCoModSgroup::toString ( ) const
overridevirtual

Implements RDKit::MarvinMolBase.

Member Data Documentation

◆ connect

std::string RDKit::MarvinSruCoModSgroup::connect

Definition at line 371 of file MarvinDefs.h.

◆ correspondence

std::string RDKit::MarvinSruCoModSgroup::correspondence

Definition at line 372 of file MarvinDefs.h.

◆ title

std::string RDKit::MarvinSruCoModSgroup::title

Definition at line 370 of file MarvinDefs.h.


The documentation for this class was generated from the following file: