Defines a datum target data. More...
#include <cadex/PMI/SemanticAttribute.hxx>
Public Member Functions | |
DatumTargetAttribute () | |
Constructor. | |
DatumTargetAttribute (size_t theIndex, const UTF16String &theDescription) | |
Constructor. | |
void | SetIndex (size_t theIndex) |
Sets the index. | |
size_t | Index () const |
Returns the index. | |
void | SetDescription (const UTF16String &theValue) |
Set the description. | |
const UTF16String & | Description () const |
Returns the description. | |
![]() | |
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 DatumTargetAttribute type. | |
![]() | |
static bool | CompareType (const BaseObject &theObject) |
Returns true if theObject has the SemanticAttribute type. | |
Protected Member Functions | |
DatumTargetAttribute (const ImplType &theImpl) | |
![]() | |
SemanticAttribute (const ImplType &theImpl) | |
![]() | |
BaseObject (const ImplType &theImpl) | |
Additional Inherited Members | |
![]() | |
typedef std::shared_ptr< internal::BaseObjectImpl > | ImplType |
Defines a datum target data.
Contains a description (e.g. a point, line or limited area of the part surface) and an index (if the datum is composite).
size_t cadex::PMI::DatumTargetAttribute::Index | ( | ) | const |
Returns the index.
Returns 1 by default.