29 #ifndef CDPL_CHEM_FRAGMENTFUNCTIONS_HPP
30 #define CDPL_CHEM_FRAGMENTFUNCTIONS_HPP
Type definition of a generic wrapper class for storing user-defined Chem::Atom predicates.
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.
Fragment.
Definition: Fragment.hpp:52
CDPL_CHEM_API void removeAtomsIfNot(Fragment &frag, const AtomPredicate &pred)
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 makeOrdinaryHydrogenDeplete(Fragment &frag, unsigned int flags)
Removes all explicit ordinary hydrogen atoms from the fragment frag.
CDPL_CHEM_API void removeAtomsIf(Fragment &frag, const AtomPredicate &pred)
CDPL_CHEM_API bool makeHydrogenDeplete(Fragment &frag)
Removes all explicit hydrogen atoms from the fragment frag.
The namespace of the Chemical Data Processing Library.