NX Open C++ Reference Guide
|
Represents a collection of ExpressionBlockObject. 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::Mechatronics::ExpressionBlockBuilder * | CreateExpressionBlockBuilder (NXOpen::Mechatronics::ExpressionBlockObject *expressionBlockObject) |
Creates a NXOpen::Mechatronics::ExpressionBlockBuilder . More... | |
iterator | end () |
Returns an iterator addressing one past the last element. More... | |
NXOpen::Mechatronics::ExpressionBlockObject * | FindObject (const NXString &name) |
Finds the NXOpen::Mechatronics::ExpressionBlockObject with the given name. More... | |
NXOpen::Mechatronics::ExpressionBlockObject * | FindObject (const char *name) |
Finds the NXOpen::Mechatronics::ExpressionBlockObject with the given name. More... | |
tag_t | Tag () const |
Returns the tag of this object. More... | |
Represents a collection of ExpressionBlockObject.
To obtain an instance of this class, refer to NXOpen::Mechatronics::PhysicsManager
Created in NX11.0.0.
iterator NXOpen::Mechatronics::ExpressionBlockCollection::begin | ( | ) |
Returns an iterator addressing the first element.
NXOpen::Mechatronics::ExpressionBlockBuilder* NXOpen::Mechatronics::ExpressionBlockCollection::CreateExpressionBlockBuilder | ( | NXOpen::Mechatronics::ExpressionBlockObject * | expressionBlockObject | ) |
Creates a NXOpen::Mechatronics::ExpressionBlockBuilder .
expressionBlockObject | NXOpen::Mechatronics::ExpressionBlockObject to be edited, if NULL then create a new one |
iterator NXOpen::Mechatronics::ExpressionBlockCollection::end | ( | ) |
Returns an iterator addressing one past the last element.
NXOpen::Mechatronics::ExpressionBlockObject* NXOpen::Mechatronics::ExpressionBlockCollection::FindObject | ( | const NXString & | name | ) |
Finds the NXOpen::Mechatronics::ExpressionBlockObject with the given name.
An object may not return the same value as its JournalIdentifier in different versions of the software. However newer versions of the software should find the same object when FindObject is passed older versions of its journal identifier. In general, this method should not be used in handwritten code and exists to support record and playback of journals. An exception will be thrown if no object can be found with given name.
name | The name of the NXOpen::Mechatronics::ExpressionBlockObject . |
NXOpen::Mechatronics::ExpressionBlockObject* NXOpen::Mechatronics::ExpressionBlockCollection::FindObject | ( | const char * | name | ) |
Finds the NXOpen::Mechatronics::ExpressionBlockObject with the given name.
An object may not return the same value as its JournalIdentifier in different versions of the software. However newer versions of the software should find the same object when FindObject is passed older versions of its journal identifier. In general, this method should not be used in handwritten code and exists to support record and playback of journals. An exception will be thrown if no object can be found with given name.
name | The name of the NXOpen::Mechatronics::ExpressionBlockObject . |
tag_t NXOpen::Mechatronics::ExpressionBlockCollection::Tag | ( | ) | const |
Returns the tag of this object.