Defines a container storing PMI data.
More...
#include <cadex/PMI/Data.hxx>
|
| | 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 () |
| |
| 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.
|
| |
|
|
typedef std::shared_ptr< internal::BaseObjectImpl > | ImplType |
| |
|
| BaseObject (const ImplType &theImpl) |
| |
Defines a container storing PMI data.
The container stores PMI specific information.
The container can be attached to any model element (ModelData::Assembly, ModelData::Instance, ModelData::Part).
- See also
- Element, SavedView
- Examples
- exploring/pmi/main.cxx.
◆ Data() [1/3]
| cadex::PMI::Data::Data |
( |
Initialized | | ) |
|
|
explicit |
◆ Data() [2/3]
| cadex::PMI::Data::Data |
( |
const Element & | theElement | ) |
|
|
explicit |
◆ Data() [3/3]
| cadex::PMI::Data::Data |
( |
const std::vector< Element > & | theElements | ) |
|
|
explicit |
◆ CompareType()
| bool cadex::PMI::Data::CompareType |
( |
const BaseObject & | theObject | ) |
|
|
static |
Returns true if theObject has the Data type.
◆ Elements()
| const std::vector< PMI::Element > & cadex::PMI::Data::Elements |
( |
| ) |
const |
◆ Name()
◆ SavedViews()
| const std::vector< PMI::SavedView > & cadex::PMI::Data::SavedViews |
( |
| ) |
const |
◆ SetName()
| void cadex::PMI::Data::SetName |
( |
const UTF16String & | theName | ) |
|