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

Defines a datum target data. More...

#include <cadex/PMI/SemanticAttribute.hxx>

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

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 UTF16StringDescription () const
 Returns the description.
 
- 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 DatumTargetAttribute 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

 DatumTargetAttribute (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 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).

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

Member Function Documentation

◆ Index()

size_t cadex::PMI::DatumTargetAttribute::Index ( ) const

Returns the index.

Returns 1 by default.

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