Defines a component represented by a datum, datum feature symbol or datum target. More...
#include <cadex/PMI/SemanticComponent.hxx>
Public Member Functions | |
| DatumComponent () | |
| Constructor. | |
| DatumComponent (const UTF16String &theLabel) | |
| Constructor. | |
| void | SetLabel (const UTF16String &theLabel) |
| Sets the label of the datum. | |
| UTF16String | Label () const |
| Returns the label of the datum. | |
Public Member Functions inherited from cadex::PMI::SemanticComponent | |
| void | AddAttribute (const SemanticAttribute &theAttribute) |
| Adds the attribute. | |
| const std::vector< PMI::SemanticAttribute > & | Attributes () const |
| Returns the attributes. | |
| bool | HasAttributes () const |
| Returns true if semantic attributes were added and false otherwise. | |
| size_t | NumberOfAttributes () const |
| Returns the number of added attributes. | |
| void | Accept (SemanticAttributeVisitor &theVisitor) const |
| Accepts an attribute visitor. | |
| void | Accept (SemanticComponentVisitor &theVisitor) const |
| Accepts the visitor. | |
Public Member Functions inherited from cadex::BaseObject | |
| 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 DatumComponent type. | |
Static Public Member Functions inherited from cadex::PMI::SemanticComponent | |
| static bool | CompareType (const BaseObject &theObject) |
| Returns true if theObject has the SemanticComponent type. | |
Additional Inherited Members | |
Public Types inherited from cadex::BaseObject | |
| typedef std::shared_ptr< internal::BaseObjectImpl > | ImplType |
Protected Member Functions inherited from cadex::PMI::SemanticComponent | |
| SemanticComponent (const ImplType &theImpl) | |
Protected Member Functions inherited from cadex::BaseObject | |
| BaseObject (const ImplType &theImpl) | |
Defines a component represented by a datum, datum feature symbol or datum target.
The datum has a label (A, B, etc.) and optionally additional attributes like index, datum target description, etc.