OEIsInMonomerCodeSet
Attention
This is a preliminary API and may be improved based on user feedback. It is currently available in C++ and Python.
class OEIsInMonomerCodeSet
Functor that identifies monomers whose code is defined in the specified code set.
Constructors
OEIsInMonomerCodeSet(const std::string& codeSet)
Constructs the functor with the name of the code set to match against.
OEIsInMonomerCodeSet(const OEIsInMonomerCodeSet &)
Copy constructor.
operator()
bool operator()(const OEMonomer &) const
Returns true if the monomer has a code defined in the code set
specified at construction.
operator=
OEIsInMonomerCodeSet &operator=(const OEIsInMonomerCodeSet &)
Assignment operator.
CreateCopy
OESystem::OEUnaryFunction<OEMonomer, bool>* CreateCopy() const