29 #ifndef CDPL_CONFGEN_TORSIONRULEMATCHER_HPP
30 #define CDPL_CONFGEN_TORSIONRULEMATCHER_HPP
49 typedef std::vector<TorsionRuleMatch> RuleMatchList;
125 bool uniqueMappingsOnly;
126 bool stopAtFirstRule;
127 RuleMatchList matches;
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::Chem::SubstructureSearch.
Definition of the class CDPL::ConfGen::TorsionLibrary.
Definition of the class CDPL::ConfGen::TorsionRuleMatch.
A data structure for the common storage of related atom to atom and bond to bond mappings.
Definition: AtomBondMapping.hpp:55
Bond.
Definition: Bond.hpp:50
MolecularGraph.
Definition: MolecularGraph.hpp:52
SubstructureSearch.
Definition: SubstructureSearch.hpp:64
Definition: TorsionCategory.hpp:49
std::shared_ptr< TorsionLibrary > SharedPointer
Definition: TorsionLibrary.hpp:49
Definition: TorsionRuleMatch.hpp:55
Definition: TorsionRuleMatcher.hpp:47
ConstMatchIterator getMatchesBegin() const
Returns a constant iterator pointing to the beginning of the stored torsion rule matches.
ConstMatchIterator getMatchesEnd() const
Returns a constant iterator pointing to the end of the stored torsion rule matches.
const TorsionRuleMatch & getMatch(std::size_t idx) const
Returns a const reference to the stored torsion rule match object at index idx.
bool findAllRuleMappings() const
bool findMatches(const Chem::Bond &bond, const Chem::MolecularGraph &molgraph, bool append=false)
void findUniqueMappingsOnly(bool unique)
void setTorsionLibrary(const TorsionLibrary::SharedPointer &lib)
void stopAtFirstMatchingRule(bool stop)
RuleMatchList::const_iterator ConstMatchIterator
Definition: TorsionRuleMatcher.hpp:52
ConstMatchIterator end() const
Returns a constant iterator pointing to the end of the stored torsion rule matches.
TorsionRuleMatcher(const TorsionLibrary::SharedPointer &lib)
bool stopAtFirstMatchingRule() const
ConstMatchIterator begin() const
Returns a constant iterator pointing to the beginning of the stored torsion rule matches.
void findAllRuleMappings(bool all)
const TorsionLibrary::SharedPointer & getTorsionLibrary() const
std::size_t getNumMatches() const
Returns the number of stored torsion rule matches found by calls to findMatches().
bool findUniqueMappingsOnly() const
Definition: TorsionRule.hpp:47
The namespace of the Chemical Data Processing Library.