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(codeSet: str) -> OEIsInMonomerCodeSet

Constructs the functor with the name of the code set to match against.

OEIsInMonomerCodeSet(arg2: OEIsInMonomerCodeSet) -> OEIsInMonomerCodeSet

Copy constructor.

operator()

__call__(arg2: OEMonomer) -> bool

Returns true if the monomer has a code defined in the code set specified at construction.

CreateCopy

CreateCopy() -> OEUnaryMonomerBoolFunc