|
Chemical Data Processing Library C++ API - Version 1.0.0
|
Go to the documentation of this file.
29 #ifndef CDPL_CHEM_MOLECULEFUNCTIONS_HPP
30 #define CDPL_CHEM_MOLECULEFUNCTIONS_HPP
82 #endif // CDPL_CHEM_MOLECULEFUNCTIONS_HPP
CDPL_CHEM_API void removeAtomsIf(Fragment &frag, const AtomPredicate &pred)
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.
Molecule.
Definition: Molecule.hpp:48
std::function< bool(const Chem::Atom &)> AtomPredicate
A generic wrapper class used to store a user-defined atom predicate.
Definition: AtomPredicate.hpp:41
CDPL_CHEM_API bool makeHydrogenComplete(Molecule &mol, bool corr_impl_h_count=true)
Converts all implicit hydrogens of the molecule mol to explicit hydrogen atoms.
Type definition of a generic wrapper class for storing user-defined Chem::Atom predicates.
CDPL_CHEM_API bool makeHydrogenDeplete(Fragment &frag)
Removes all explicit hydrogen atoms from the fragment frag.
CDPL_CHEM_API bool makeOrdinaryHydrogenDeplete(Fragment &frag, unsigned int flags)
Removes all explicit ordinary hydrogen atoms from the fragment frag.
CDPL_CHEM_API void removeAtomsIfNot(Fragment &frag, const AtomPredicate &pred)
The namespace of the Chemical Data Processing Library.