Defines a compartment of datum references or compartments. More...
#include <cadex/PMI/SemanticAttribute.hxx>
Public Member Functions | |
DatumRefCompartmentAttribute () | |
Constructor. | |
void | AddReference (const DatumRefAttribute &theReference) |
Adds the datum attribute reference. | |
void | AddReference (const DatumRefCompartmentAttribute &theReference) |
Adds the datum compartment reference. | |
size_t | NumberOfReferences () const |
Returns the number of the datum compartment references. | |
const SemanticAttribute & | Reference (size_t theIndex) const |
Returns the specific datum compartment reference. | |
void | AddModifierAttribute (const ModifierAttribute &theAttribute) |
Adds the modifier attribute. | |
size_t | NumberOfModifierAttributes () const |
Returns the number of the modifier attributes. | |
const PMI::ModifierAttribute & | ModifierAttribute (size_t theIndex) const |
Returns the specific modifier attribute. | |
![]() | |
void | Accept (SemanticAttributeVisitor &theVisitor) const |
![]() | |
size_t | Id () const |
Return unique identifier of public object. | |
internal::BaseObjectImpl * | Impl () const |
bool | IsNull () const |
operator bool () const | |
template<typename T > | |
bool | IsOfType () const |
template<typename T > | |
T * | Impl () const |
Reserved for internal use. | |
Static Public Member Functions | |
static bool | CompareType (const BaseObject &theObject) |
Returns true if theObject has the DatumRefCompartmentAttribute type. | |
![]() | |
static bool | CompareType (const BaseObject &theObject) |
Returns true if theObject has the SemanticAttribute type. | |
Protected Member Functions | |
DatumRefCompartmentAttribute (const ImplType &theImpl) | |
![]() | |
SemanticAttribute (const ImplType &theImpl) | |
![]() | |
BaseObject (const ImplType &theImpl) | |
Additional Inherited Members | |
![]() | |
typedef std::shared_ptr< internal::BaseObjectImpl > | ImplType |
Defines a compartment of datum references or compartments.
Stores a collection of datum references or compartments and optionally a collection of modifiers, which is applied to each added compartment.