All Frameworks  Class Hierarchy  This Framework  Next  Indexes

ObjectModelerSystem Class CATListPtrCATBaseUnknown

CATListPtrCATBaseUnknown
 

Usage: you must use this class as is. You should never derive it.


public class CATListPtrCATBaseUnknown

Class to define a list of interface pointers and list operations on it.


Method Index


o Append(CATBaseUnknown*)
Adds an element in the list.
o InsertAt(int,CATBaseUnknown*)
Inserts an elemnt in the list at a position.
o Locate(CATBaseUnknown*,int)
Searchs for an element.
o RemoveAll(CATCollec::MemoryHandling)
Removes all element of the list.
o RemovePosition(int)
Removes the iem element.
o RemoveValue(CATBaseUnknown*)
Removes an element.
o Size()
Returns the list size.
o operator[](int)
Returns the ieme element.

Methods


o Append
public void Append(CATBaseUnknown* iAdd)
Adds an element in the list.
Parameters:
iAdd
The element to add
o InsertAt
public void InsertAt(int iPos,
CATBaseUnknown* iAdd)
Inserts an elemnt in the list at a position.
Parameters:
iPos
The position to add the element
iAdd
The element to add.
o Locate
public int Locate(CATBaseUnknown* iLocate,
int iFrom= 1 )const
Searchs for an element.
Parameters:
iLocate
iFrom
o RemoveAll
public void RemoveAll(CATCollec::MemoryHandling iMH= CATCollec::ReleaseAllocation )
Removes all element of the list.
Parameters:
iMH
o RemovePosition
public void RemovePosition(int iPos)
Removes the iem element.
Parameters:
iPos
o RemoveValue
public int RemoveValue(CATBaseUnknown* iRemove)
Removes an element.
Parameters:
iRemove
The element to remove
Returns:
o Size
public int Size()const
Returns the list size.
Returns:
The size of the list
o operator[]
public CATBaseUnknown*& operator[](int iPos)
Returns the ieme element.
Parameters:
iPos

This object is included in the file: sequence_CATBaseUnknown_ptr.h
If needed, your Imakefile.mk should include the module: ObjectModelerSystem

Copyright © 2003, Dassault Systèmes. All rights reserved.