Defines a container storing a PMI data. More...
#include <cadex/PMI/Data.hxx>
Public Member Functions | |
| Data (Initialized) | |
| Constructor. | |
| Data (const UTF16String &theName) | |
| Data (const Element &theElement) | |
| Constructor. | |
| Data (const std::vector< Element > &theElements) | |
| Constructor. | |
| void | Add (const Element &theElement) |
| const std::vector< Element > & | Elements () const |
| Returns the elements. | |
| size_t | NumberOfElements () const |
| void | Add (const Data &theData) |
| void | AddView (const SavedView &theView) |
| const std::vector< SavedView > & | SavedViews () const |
| Returns the saved views. | |
| size_t | NumberOfSavedViews () const |
| void | SetName (const UTF16String &theName) |
| Sets the name. | |
| UTF16String | Name () const |
| Returns the name. | |
| bool | IsEmpty () const |
| void | Clear () |
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 Data type. | |
Additional Inherited Members | |
Public Types inherited from cadex::BaseObject | |
| typedef std::shared_ptr< internal::BaseObjectImpl > | ImplType |
Protected Member Functions inherited from cadex::BaseObject | |
| BaseObject (const ImplType &theImpl) | |
Defines a container storing a PMI data.
The container stores a PMI specific information.
The container can be attached to any model element (ModelData::Assembly, ModelData::Instance, ModelData::Part).