29 #ifndef CDPL_CONFGEN_FRAGMENTASSEMBLER_HPP
30 #define CDPL_CONFGEN_FRAGMENTASSEMBLER_HPP
35 #include <boost/iterator/indirect_iterator.hpp>
57 class FragmentAssemblerImpl;
64 typedef boost::indirect_iterator<ConformerDataArray::const_iterator, ConformerData>
ConformerIterator;
125 typedef std::unique_ptr<FragmentAssemblerImpl> ImplementationPointer;
127 ImplementationPointer impl;
Type definition of a generic wrapper class for storing user-defined callback functions.
Definition of the preprocessor macro CDPL_CONFGEN_API.
#define CDPL_CONFGEN_API
Tells the compiler/linker which classes, functions and variables are part of the library API.
Definition of the class CDPL::ConfGen::FragmentAssemblerSettings.
Definition of the class CDPL::ConfGen::FragmentLibrary.
Type definition of a generic wrapper class for storing user-defined log message callback functions.
MolecularGraph.
Definition: MolecularGraph.hpp:52
Definition: FragmentAssemblerSettings.hpp:43
Definition: FragmentAssembler.hpp:60
unsigned int assemble(const Chem::MolecularGraph &molgraph)
FragmentAssembler & operator=(const FragmentAssembler &)=delete
const FragmentAssemblerSettings & getSettings() const
boost::indirect_iterator< ConformerDataArray::const_iterator, ConformerData > ConformerIterator
Definition: FragmentAssembler.hpp:64
const CallbackFunction & getAbortCallback() const
ConformerIterator begin()
FragmentAssembler(const FragmentAssembler &)=delete
void clearFragmentLibraries()
const LogMessageCallbackFunction & getLogMessageCallback() const
const ConformerData & getConformer(std::size_t idx) const
ConstConformerIterator end() const
ConstConformerIterator getConformersBegin() const
ConstConformerIterator getConformersEnd() const
void setTimeoutCallback(const CallbackFunction &func)
ConstConformerIterator begin() const
boost::indirect_iterator< ConformerDataArray::const_iterator, const ConformerData > ConstConformerIterator
Definition: FragmentAssembler.hpp:63
void setLogMessageCallback(const LogMessageCallbackFunction &func)
ConformerIterator getConformersEnd()
FragmentAssemblerSettings & getSettings()
ConformerData & getConformer(std::size_t idx)
void setAbortCallback(const CallbackFunction &func)
std::size_t getNumConformers() const
void addFragmentLibrary(const FragmentLibrary::SharedPointer &lib)
const CallbackFunction & getTimeoutCallback() const
ConformerIterator getConformersBegin()
unsigned int assemble(const Chem::MolecularGraph &molgraph, const Chem::MolecularGraph &fixed_substr, const Math::Vector3DArray &fixed_substr_coords)
std::shared_ptr< FragmentLibrary > SharedPointer
Definition: FragmentLibrary.hpp:54
std::function< void(const std::string &)> LogMessageCallbackFunction
A generic wrapper class used to store a user-defined callback functions.
Definition: LogMessageCallbackFunction.hpp:45
std::function< bool()> CallbackFunction
A generic wrapper class used to store a user-defined callback functions (see [FUNWRP]).
Definition: CallbackFunction.hpp:44
VectorArray< Vector3D > Vector3DArray
An array of Math::Vector3D objects.
Definition: VectorArray.hpp:84
The namespace of the Chemical Data Processing Library.