29 #ifndef CDPL_CHEM_CYCLICSUBSTRUCTURE_HPP
30 #define CDPL_CHEM_CYCLICSUBSTRUCTURE_HPP
82 typedef std::vector<const Atom*> AtomStack;
83 typedef std::vector<const Bond*> BondStack;
87 void findRingAtomsAndBonds();
88 void findRingAtomsAndBonds(
const Atom* atom);
Definition of the type CDPL::Util::BitSet.
Definition of the preprocessor macro CDPL_CHEM_API.
#define CDPL_CHEM_API
Tells the compiler/linker which classes, functions and variables are part of the library API.
Definition of the class CDPL::Chem::Fragment.
Atom.
Definition: Atom.hpp:52
Implements the perception of ring atoms and bonds in a molecular graph.
Definition: CyclicSubstructure.hpp:50
CyclicSubstructure & operator=(const CyclicSubstructure &)=delete
std::shared_ptr< CyclicSubstructure > SharedPointer
A reference-counted smart pointer [SHPTR] for dynamically allocated CyclicSubstructure instances.
Definition: CyclicSubstructure.hpp:56
CyclicSubstructure(const CyclicSubstructure &)=delete
void perceive(const MolecularGraph &molgraph)
Replaces the currently stored atoms and bonds by the set of ring atoms and bonds of the molecular gra...
CyclicSubstructure(const MolecularGraph &molgraph)
Construct a CyclicSubstructure instance that consists of the ring atoms and bonds of the molecular gr...
CyclicSubstructure()
Constructs an empty CyclicSubstructure instance.
Definition: CyclicSubstructure.hpp:61
Fragment.
Definition: Fragment.hpp:52
MolecularGraph.
Definition: MolecularGraph.hpp:52
boost::dynamic_bitset BitSet
A dynamic bitset class.
Definition: BitSet.hpp:46
The namespace of the Chemical Data Processing Library.