NX Open C++ Reference Guide
Public Member Functions | List of all members
NXOpen::Features::ShipDesign::TransFrameListItemBuilderList Class Reference

Represents a list of objects. More...

Inheritance diagram for NXOpen::Features::ShipDesign::TransFrameListItemBuilderList:
NXOpen::TaggedObject

Public Member Functions

void Append (const std::vector< NXOpen::Features::ShipDesign::TransFrameListItemBuilder * > &objects)
 Appends a set of objects to the list. More...
 
void Append (NXOpen::Features::ShipDesign::TransFrameListItemBuilder *object)
 Appends an object to the list. More...
 
void Clear ()
 Clears the entire list without deleting the objects. More...
 
void Clear (NXOpen::ObjectList::DeleteOption deleteOption)
 Clears the entire list
Created in NX5.0.0. More...
 
void ClearIndex (int deleteIdx)
 Deletes the item at the index specified. More...
 
void Erase (int index)
 Erases the object from the list, but does not delete the object. More...
 
void Erase (int index, NXOpen::ObjectList::DeleteOption deleteOption)
 Erases the object at the given position from the list. More...
 
void Erase (NXOpen::Features::ShipDesign::TransFrameListItemBuilder *obj)
 Erases the object from the list, but does not delete the object. More...
 
void Erase (NXOpen::Features::ShipDesign::TransFrameListItemBuilder *obj, NXOpen::ObjectList::DeleteOption deleteOption)
 Erases the object from the list. More...
 
int FindIndex (NXOpen::Features::ShipDesign::TransFrameListItemBuilder *obj)
 Finds the index where the input object appears. More...
 
NXOpen::Features::ShipDesign::TransFrameListItemBuilderFindItem (int index)
 Returns the object at the input index. More...
 
std::vector
< NXOpen::Features::ShipDesign::TransFrameListItemBuilder * > 
GetContents ()
 Gets the contents of the entire list. More...
 
void Insert (int location, NXOpen::Features::ShipDesign::TransFrameListItemBuilder *object)
 Inserts an object at the specified location
Created in NX5.0.0. More...
 
int Length ()
 Returns the length of the list
Created in NX5.0.0. More...
 
void MoveToBottom (int index)
 Move object at the specified location to the bottom of the list. More...
 
void MoveToTop (int index)
 Move object at the specified location to the top of the list. More...
 
void SetContents (const std::vector< NXOpen::Features::ShipDesign::TransFrameListItemBuilder * > &objects)
 Sets the contents of the entire list. More...
 
void Swap (int index1, int index2)
 Exchanges the position of two objects inside the list. More...
 
void Swap (NXOpen::Features::ShipDesign::TransFrameListItemBuilder *object1, NXOpen::Features::ShipDesign::TransFrameListItemBuilder *object2)
 Exchanges the position of two objects inside the list. More...
 
- Public Member Functions inherited from NXOpen::TaggedObject
tag_t Tag () const
 Returns the tag of this object. More...
 

Detailed Description

Represents a list of objects.


To create a new instance of this class, use NXOpen::Part::CreateObjectList

Created in NX4.0.0.

Member Function Documentation

void NXOpen::Features::ShipDesign::TransFrameListItemBuilderList::Append ( const std::vector< NXOpen::Features::ShipDesign::TransFrameListItemBuilder * > &  objects)

Appends a set of objects to the list.


Created in NX4.0.0.

License requirements : None

Parameters
objectsitems to append
void NXOpen::Features::ShipDesign::TransFrameListItemBuilderList::Append ( NXOpen::Features::ShipDesign::TransFrameListItemBuilder object)

Appends an object to the list.


Created in NX5.0.0.

License requirements : None

Parameters
objectitem to append
void NXOpen::Features::ShipDesign::TransFrameListItemBuilderList::Clear ( )

Clears the entire list without deleting the objects.

The caller is responsible for accounting for these objects. If they are not used or deleted by the time the part is closed (in other words, leaked) an error will occur
Created in NX5.0.0.

License requirements : None

void NXOpen::Features::ShipDesign::TransFrameListItemBuilderList::Clear ( NXOpen::ObjectList::DeleteOption  deleteOption)

Clears the entire list
Created in NX5.0.0.



License requirements : None

Parameters
deleteOptionwhether to delete the objects when removing them
void NXOpen::Features::ShipDesign::TransFrameListItemBuilderList::ClearIndex ( int  deleteIdx)

Deletes the item at the index specified.

The size of the list does not change, but the item at this index is set to NULL.


Created in NX4.0.0.

License requirements : None

Parameters
deleteIdxindex of item to be deleted
void NXOpen::Features::ShipDesign::TransFrameListItemBuilderList::Erase ( int  index)

Erases the object from the list, but does not delete the object.

The list is shifted so that there isn't a null where the object used to be.
Created in NX5.0.0.

License requirements : None

Parameters
indexindex of item to be removed from the list
void NXOpen::Features::ShipDesign::TransFrameListItemBuilderList::Erase ( int  index,
NXOpen::ObjectList::DeleteOption  deleteOption 
)

Erases the object at the given position from the list.

The list is shifted so that there isn't a null where the object used to be.
Created in NX5.0.0.

License requirements : None

Parameters
indexindex of item to be removed from the list
deleteOptionwhether to delete the object
void NXOpen::Features::ShipDesign::TransFrameListItemBuilderList::Erase ( NXOpen::Features::ShipDesign::TransFrameListItemBuilder obj)

Erases the object from the list, but does not delete the object.

The list is shifted so that there isn't a null where the object used to exist.
Created in NX5.0.0.

License requirements : None

Parameters
objobject to be removed from the list
void NXOpen::Features::ShipDesign::TransFrameListItemBuilderList::Erase ( NXOpen::Features::ShipDesign::TransFrameListItemBuilder obj,
NXOpen::ObjectList::DeleteOption  deleteOption 
)

Erases the object from the list.

The list is shifted so that there isn't a null where the object used to exist.
Created in NX5.0.0.

License requirements : None

Parameters
objobject to be removed from the list
deleteOptionwhether to delete the object
int NXOpen::Features::ShipDesign::TransFrameListItemBuilderList::FindIndex ( NXOpen::Features::ShipDesign::TransFrameListItemBuilder obj)

Finds the index where the input object appears.

If it does not appear, -1 is returned.

Returns
index of input object, -1 if not on list
Created in NX4.0.0.

License requirements : None
Parameters
objObject to find index for
NXOpen::Features::ShipDesign::TransFrameListItemBuilder* NXOpen::Features::ShipDesign::TransFrameListItemBuilderList::FindItem ( int  index)

Returns the object at the input index.

May be NULL.

Returns
object found at input index
Created in NX4.0.0.

License requirements : None
Parameters
indexindex of object to return
std::vector<NXOpen::Features::ShipDesign::TransFrameListItemBuilder *> NXOpen::Features::ShipDesign::TransFrameListItemBuilderList::GetContents ( )

Gets the contents of the entire list.

Returns
The list contents
Created in NX5.0.0.

License requirements : None
void NXOpen::Features::ShipDesign::TransFrameListItemBuilderList::Insert ( int  location,
NXOpen::Features::ShipDesign::TransFrameListItemBuilder object 
)

Inserts an object at the specified location
Created in NX5.0.0.



License requirements : None

Parameters
locationlocation at which to insert the object
objectobject to be inserted
int NXOpen::Features::ShipDesign::TransFrameListItemBuilderList::Length ( )

Returns the length of the list
Created in NX5.0.0.



License requirements : None

void NXOpen::Features::ShipDesign::TransFrameListItemBuilderList::MoveToBottom ( int  index)

Move object at the specified location to the bottom of the list.


Created in NX10.0.0.

License requirements : None

Parameters
indexlocation of the item
void NXOpen::Features::ShipDesign::TransFrameListItemBuilderList::MoveToTop ( int  index)

Move object at the specified location to the top of the list.


Created in NX10.0.0.

License requirements : None

Parameters
indexlocation of the item
void NXOpen::Features::ShipDesign::TransFrameListItemBuilderList::SetContents ( const std::vector< NXOpen::Features::ShipDesign::TransFrameListItemBuilder * > &  objects)

Sets the contents of the entire list.

This overwrites the previous contents of this list, but does not delete any objects that were originally on the list.


Created in NX5.0.0.

License requirements : None

Parameters
objectsThe list contents
void NXOpen::Features::ShipDesign::TransFrameListItemBuilderList::Swap ( int  index1,
int  index2 
)

Exchanges the position of two objects inside the list.

The first object is placed where the second used to be, and second object where the first used to be.
Created in NX5.0.0.

License requirements : None

Parameters
index1location of the first item
index2location of the second item
void NXOpen::Features::ShipDesign::TransFrameListItemBuilderList::Swap ( NXOpen::Features::ShipDesign::TransFrameListItemBuilder object1,
NXOpen::Features::ShipDesign::TransFrameListItemBuilder object2 
)

Exchanges the position of two objects inside the list.

The first object is placed where the second used to be, and second object where the first used to be.
Created in NX5.0.0.

License requirements : None

Parameters
object1first item
object2second item

The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.