Defines a complete PMI element. More...
#include <cadex/PMI/Element.hxx>
 
  
| Public Member Functions | |
| Element (Initialized) | |
| Element (const GraphicalRepresentation &theRepresentation) | |
| Constructor. | |
| Element (ElementType theType) | |
| Constructor. | |
| Element (ElementType theType, const UTF16String &theName) | |
| Constructor. | |
| void | SetGraphicalRepresentation (const GraphicalRepresentation &theRepresentation) | 
| Sets the graphical representation. | |
| PMI::GraphicalRepresentation | GraphicalRepresentation () const | 
| Returns the graphical representation. | |
| void | SetSemanticRepresentation (const SemanticRepresentation &theRepresentation) | 
| Sets the semantic element. | |
| PMI::SemanticRepresentation | SemanticRepresentation () const | 
| Returns the semantic element. | |
| void | SetName (const UTF16String &theName) | 
| Sets the name. | |
| UTF16String | Name () const | 
| Returns the name. | |
| void | SetType (ElementType theType) | 
| Sets the element type. | |
| ElementType | Type () const | 
| bool | IsEmpty () 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 Element type. | |
| Protected Member Functions | |
| Element (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 | 
Defines a complete PMI element.
Encapsulates a PMI graphical representation, a PMI semantic representation, and a type.
| bool cadex::PMI::Element::IsEmpty | ( | ) | const | 
Returns true if no graphical or semantic representation was set.
| UTF16String cadex::PMI::Element::Name | ( | ) | const | 
Returns the name.
Returns the empty string if the model element has no name (by default).
| void cadex::PMI::Element::SetName | ( | const UTF16String & | theName | ) |