Defines a datum reference. More...
#include <cadex/PMI/SemanticAttribute.hxx>
Public Member Functions | |
DatumRefAttribute () | |
Constructor. | |
DatumRefAttribute (size_t thePrecedence, const UTF16String &theTargetLabel) | |
Constructor. | |
void | SetPrecedence (size_t thePrecedence) |
Sets precedences. | |
size_t | Precedence () const |
Returns the precedence value. | |
void | SetTargetLabel (const UTF16String &theTargetLabel) |
Sets the target lable. | |
const UTF16String & | TargetLabel () const |
Returns the target lable. | |
![]() | |
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 DatumRefAttribute type. | |
![]() | |
static bool | CompareType (const BaseObject &theObject) |
Returns true if theObject has the SemanticAttribute type. | |
Protected Member Functions | |
DatumRefAttribute (const ImplType &theImpl) | |
![]() | |
SemanticAttribute (const ImplType &theImpl) | |
![]() | |
BaseObject (const ImplType &theImpl) | |
Additional Inherited Members | |
![]() | |
typedef std::shared_ptr< internal::BaseObjectImpl > | ImplType |
Defines a datum reference.
Stores a label of the datum and its precedence in a compartment of a geometric tolerance.
size_t cadex::PMI::DatumRefAttribute::Precedence | ( | ) | const |
Returns the precedence value.
Returns 1 by default.