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:
Constructors¶
OERoles()
Default constructor that generates an empty set.
OERoles(const OESystem::OERoleSet &rhs)
Copy constructor.
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.
To avoid a memory leak in C++,
the returned pointer should be
stored in a variable of the
OEOwnedPtr template class
or deallocated with the delete
operator.