NX Open C++ Reference Guide
|
Represents a collection of NXOpen::Annotations::LightweightSection objects
To obtain an instance of this class, refer to NXOpen::Annotations::PmiManager
Created in NX7.5.0.
More...
Classes | |
class | iterator |
Iterator for accessing the contents of the collection. More... | |
Public Member Functions | |
iterator | begin () |
Returns an iterator addressing the first element. More... | |
NXOpen::Annotations::LightweightSectionBuilder * | CreateLightweightSectionBuilder (NXOpen::Annotations::LightweightSection *view) |
Creates a NXOpen::Annotations::LightweightSectionBuilder. More... | |
iterator | end () |
Returns an iterator addressing one past the last element. More... | |
NXOpen::Annotations::LightweightSection * | FindObject (const NXString &name) |
Finds the lightweight section with the given name. More... | |
NXOpen::Annotations::LightweightSection * | FindObject (const char *name) |
Finds the lightweight section with the given name. More... | |
tag_t | Tag () const |
Returns the tag of this object. More... | |
Represents a collection of NXOpen::Annotations::LightweightSection objects
To obtain an instance of this class, refer to NXOpen::Annotations::PmiManager
Created in NX7.5.0.
iterator NXOpen::Annotations::PmiLightweightSectionCollection::begin | ( | ) |
Returns an iterator addressing the first element.
NXOpen::Annotations::LightweightSectionBuilder* NXOpen::Annotations::PmiLightweightSectionCollection::CreateLightweightSectionBuilder | ( | NXOpen::Annotations::LightweightSection * | view | ) |
Creates a NXOpen::Annotations::LightweightSectionBuilder.
view | the lightweight section to be edited, if NULL, then create a lightweight section |
iterator NXOpen::Annotations::PmiLightweightSectionCollection::end | ( | ) |
Returns an iterator addressing one past the last element.
NXOpen::Annotations::LightweightSection* NXOpen::Annotations::PmiLightweightSectionCollection::FindObject | ( | const NXString & | name | ) |
Finds the lightweight section with the given name.
An exception will be thrown if no object can be found with given name
name | Name of the lightweight section to be found |
NXOpen::Annotations::LightweightSection* NXOpen::Annotations::PmiLightweightSectionCollection::FindObject | ( | const char * | name | ) |
Finds the lightweight section with the given name.
An exception will be thrown if no object can be found with given name
name | Name of the lightweight section to be found |
tag_t NXOpen::Annotations::PmiLightweightSectionCollection::Tag | ( | ) | const |
Returns the tag of this object.