OERoles

class OERoles : public OESystem::OERoleSet

The OERoles class is a concrete instance of the OERoleSet abstract base class. It is designed to be a very simple set container for OERole objects. Other containers with more specific purposes include OEAtomBondSet, OEMatch, and OEMatchBase.

The following methods are publicly inherited from OERoleSet:

AddRole

DeleteRole

HasRole

ClearRoles

GetRoles

NumRoles

Constructors

OERoles()

Default constructor that generates an empty set.

OERoles(const OESystem::OERoleSet &rhs)

Copy constructor.

operator=

OERoles &operator=(const OESystem::OERoleSet &rhs)

Assignment operator.

CreateCopy

OERoles *CreateCopy() const

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