Class that provides access by index or by name pattern to all parts of the current UnstructGridModel. More...
Public Member Functions | |
size_t | count () const |
Returns number of parts. More... | |
cee::ug::DataPart * | current () const |
Returns current part. More... | |
cee::ug::PartInfo | currentInfo () const |
Returns current part info. More... | |
void | setCurrent (cee::ug::DataPart *part) |
Sets part to current. More... | |
size_t | currentIndex () const |
Returns current index. More... | |
void | setCurrentIndex (size_t index) |
Sets current index. More... | |
size_t | indexOf (const cee::ug::DataPart *part) const |
Returns index of part. More... | |
cee::ug::DataPart * | get (size_t index) const |
Returns part at given index. More... | |
cee::ug::DataPart * | get (const cee::Str &wildcard) const |
Returns the Part matching the search string wildcard. More... | |
cee::ug::PartInfo | info (size_t index) const |
Returns the part info for the given index. More... | |
cee::ug::PartInfo | info (cee::ug::DataPart *part) const |
Returns the part info for the specified part. More... | |
size_t | geometryIndex (size_t index) const |
Returns the geometry index of the part at the specified index. More... | |
size_t | geometryIndex (const cee::ug::DataPart *part) const |
Returns the geometry index of the specified part. More... | |
![]() | |
void | addRef () const |
Increments the reference count for this object. More... | |
void | release () const |
Decrements the reference count for this object. More... | |
int | refCount () const |
Returns the reference count for this object. More... | |
void | setRefCountZero () const |
Sets the ref count to zero, but DOES NOT delete the object. More... | |
Static Public Member Functions | |
static Parts * | instance () |
Parts is a singleton. Always access Parts using this instance() More... | |
Class that provides access by index or by name pattern to all parts of the current UnstructGridModel.
size_t cee::app::Parts::count | ( | ) | const |
Returns number of parts.
DataPart * cee::app::Parts::current | ( | ) | const |
Returns current part.
size_t cee::app::Parts::currentIndex | ( | ) | const |
Returns current index.
PartInfo cee::app::Parts::currentInfo | ( | ) | const |
Returns current part info.
size_t cee::app::Parts::geometryIndex | ( | size_t | index | ) | const |
Returns the geometry index of the part at the specified index.
size_t cee::app::Parts::geometryIndex | ( | const cee::ug::DataPart * | part | ) | const |
Returns the geometry index of the specified part.
DataPart * cee::app::Parts::get | ( | size_t | index | ) | const |
Returns part at given index.
Returns the Part matching the search string wildcard.
Return NULL if none found
size_t cee::app::Parts::indexOf | ( | const cee::ug::DataPart * | part | ) | const |
Returns index of part.
PartInfo cee::app::Parts::info | ( | size_t | index | ) | const |
Returns the part info for the given index.
PartInfo cee::app::Parts::info | ( | cee::ug::DataPart * | part | ) | const |
Returns the part info for the specified part.
|
static |
Parts is a singleton. Always access Parts using this instance()
void cee::app::Parts::setCurrent | ( | cee::ug::DataPart * | part | ) |
Sets part to current.
void cee::app::Parts::setCurrentIndex | ( | size_t | index | ) |
Sets current index.