Hide menu
Loading...
Searching...
No Matches

Defines a datum reference. More...

#include <cadex/PMI/SemanticAttribute.hxx>

Inheritance diagram for cadex::PMI::DatumRefAttribute:
cadex::PMI::SemanticAttribute cadex::BaseObject

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 UTF16StringTargetLabel () const
 Returns the target lable.
 
- Public Member Functions inherited from cadex::PMI::SemanticAttribute
void Accept (SemanticAttributeVisitor &theVisitor) const
 
- 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 DatumRefAttribute type.
 
- Static Public Member Functions inherited from cadex::PMI::SemanticAttribute
static bool CompareType (const BaseObject &theObject)
 Returns true if theObject has the SemanticAttribute type.
 

Protected Member Functions

 DatumRefAttribute (const ImplType &theImpl)
 
- Protected Member Functions inherited from cadex::PMI::SemanticAttribute
 SemanticAttribute (const ImplType &theImpl)
 
- Protected Member Functions inherited from cadex::BaseObject
 BaseObject (const ImplType &theImpl)
 

Additional Inherited Members

- Public Types inherited from cadex::BaseObject
typedef std::shared_ptr< internal::BaseObjectImpl > ImplType
 

Detailed Description

Defines a datum reference.

Stores a label of the datum and its precedence in a compartment of a geometric tolerance.

See also
SemanticAttribute
Examples
exploring/pmi/Program.cs, and exploring/pmi/main.cxx.

Member Function Documentation

◆ Precedence()

size_t cadex::PMI::DatumRefAttribute::Precedence ( ) const

Returns the precedence value.

Returns 1 by default.

Examples
exploring/pmi/Program.cs, and exploring/pmi/main.cxx.