![]() |
Chemical Data Processing Library C++ API - Version 1.4.0
|
Abstract base interface for processors 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 implementations. More... | |
Public Member Functions | |
| virtual | ~MultiConfMoleculeInputProcessor () |
| Virtual destructor. More... | |
| virtual bool | init (MolecularGraph &tgt_molgraph) const =0 |
| Performs initial tests and necessary setup tasks for a newly read-in potential multi-conformer molecule. More... | |
| virtual bool | isConformation (MolecularGraph &tgt_molgraph, MolecularGraph &conf_molgraph) const =0 |
| Checks if conf_molgraph represents a conformation of tgt_molgraph. More... | |
| virtual bool | addConformation (MolecularGraph &tgt_molgraph, MolecularGraph &conf_molgraph) const =0 |
| Tries to append a new conformation to the list of previously read-in conformers of tgt_molgraph. More... | |
Abstract base interface for processors 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 implementations.
|
inlinevirtual |
Virtual destructor.
Destroys the MultiConfMoleculeInputProcessor instance and frees all allocated resources.
|
pure virtual |
Performs initial tests and necessary setup tasks for a newly read-in potential multi-conformer molecule.
| tgt_molgraph | The concerned part of the read-in molecule that stores the conformations. |
true if tgt_molgraph is a possible multi-conformer molecule, and false otherwise. Implemented in CDPL::Chem::DefaultMultiConfMoleculeInputProcessor.
|
pure virtual |
Checks if conf_molgraph represents a conformation of tgt_molgraph.
| tgt_molgraph | The molecular graph for which to check if conf_molgraph represents a new conformation. |
| conf_molgraph | A molecular graph representing a possible conformation of tgt_molgraph. |
false if conf_molgraph does not represent a conformer of tgt_molgraph, and true otherwise. Implemented in CDPL::Chem::DefaultMultiConfMoleculeInputProcessor.
|
pure virtual |
Tries to append a new conformation to the list of previously read-in conformers of tgt_molgraph.
| tgt_molgraph | The concerned part of target molecule that stores the read-in conformations. |
| conf_molgraph | A molecular graph storing the conformation to append. |
false if conf_molgraph does not represent a conformer of tgt_molgraph, and true if the new conformation was successfully appended. Implemented in CDPL::Chem::DefaultMultiConfMoleculeInputProcessor.