![]() |
Chemical Data Processing Library C++ API - Version 1.4.0
|
Abstract base for classes that detect and assemble multi-conformer molecules from a stream of successive single-conformer input molecules. More...
#include <MultiConfMoleculeInputProcessor.hpp>
Inheritance diagram for CDPL::Chem::MultiConfMoleculeInputProcessor:Public Types | |
| typedef std::shared_ptr< MultiConfMoleculeInputProcessor > | SharedPointer |
A reference-counted smart pointer [SHPTR] for dynamically allocated MultiConfMoleculeInputProcessor instances. More... | |
Public Member Functions | |
| virtual | ~MultiConfMoleculeInputProcessor () |
| Virtual destructor. More... | |
| virtual bool | init (MolecularGraph &tgt_molgraph) const =0 |
| Performs initial tests and setup tasks for tgt_molgraph as the new conformer collection target. More... | |
| virtual bool | isConformation (MolecularGraph &tgt_molgraph, MolecularGraph &conf_molgraph) const =0 |
| Tells whether conf_molgraph is a conformer of the conformer collection target tgt_molgraph. More... | |
| virtual bool | addConformation (MolecularGraph &tgt_molgraph, MolecularGraph &conf_molgraph) const =0 |
| Adds the set of atom 3D coordinates of conf_molgraph as a new conformer to tgt_molgraph. More... | |
Abstract base for classes that detect and assemble multi-conformer molecules from a stream of successive single-conformer input molecules.
| typedef std::shared_ptr<MultiConfMoleculeInputProcessor> CDPL::Chem::MultiConfMoleculeInputProcessor::SharedPointer |
A reference-counted smart pointer [SHPTR] for dynamically allocated MultiConfMoleculeInputProcessor instances.
|
inlinevirtual |
Virtual destructor.
Destroys the MultiConfMoleculeInputProcessor instance and frees all allocated resources.
|
pure virtual |
Performs initial tests and setup tasks for tgt_molgraph as the new conformer collection target.
| tgt_molgraph | The molecular graph that will store the read conformers. |
true if tgt_molgraph fulfills all prerequisites and was successfully initialized, and false otherwise. Implemented in CDPL::Chem::DefaultMultiConfMoleculeInputProcessor.
|
pure virtual |
Tells whether conf_molgraph is a conformer of the conformer collection target tgt_molgraph.
| tgt_molgraph | The conformer collection target. |
| conf_molgraph | The molecular graph representing the conformer to check. |
true if conf_molgraph could be identified as a conformer of tgt_molgraph, and false otherwise. Implemented in CDPL::Chem::DefaultMultiConfMoleculeInputProcessor.
|
pure virtual |
Adds the set of atom 3D coordinates of conf_molgraph as a new conformer to tgt_molgraph.
| tgt_molgraph | The conformer collection target. |
| conf_molgraph | The molecular graph representing the conformer to add. |
true if the conformer was added, and false if the addition failed. Implemented in CDPL::Chem::DefaultMultiConfMoleculeInputProcessor.