OEHasMonomerGroup

class  OEHasMonomerGroup : public OESystem::OEUnaryPredicate<OEGroupBase>

This class represents OEHasMonomerGroup functor that identifies groups (OEGroupBase) that are representing a monomer specified by a code.

See also

  • OEIsMonomerGroup for a functor that identifies groups that store monomer information.

The following methods are publicly inherited from OEUnaryPredicate:

operator()

CreateCopy

CreatePredicateCopy

The following methods are publicly inherited from OEUnaryFunction:

operator()

CreateCopy

Constructors

__init__(code_set: str, code: str) -> OEHasMonomerGroup

Constructor that takes a code set and a code to identify the monomer group.

CreateCopy

CreateCopy() -> OEUnaryGroupBoolFunc

Deep copy constructor that returns a copy of the object. The memory for the returned OEHasMonomerGroup object is dynamically allocated and owned by the caller.