All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

CATTPSInterfaces Interface CATITPSList

System.IUnknown
  |
  +---CATITPSList
 

Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.


interface CATITPSList

Interface for lists of TPS objects CATITPSComponent.
This interface is similar to CATIUnknownList (same methods).

See also:
CATCreateCATITPSList


Method Index


o Add(unsigned int,CATITPSComponent*)
Add a component at a given position in the list.
o Count(unsigned int*)
Retrieves the number of components in the list.
o Item(unsigned int,CATITPSComponent**)
Retrieves the component number i.
o Remove(CATITPSComponent*)
Remove an element from the list.

Methods


o Add
public virtual HRESULT Add( const unsigned int iPosition,
CATITPSComponent* iItem) = 0
Add a component at a given position in the list.
Parameters:
iPosition
Position of the added component.
iItem
Component to be added.
o Count
public virtual HRESULT Count(unsigned int* oCount) const = 0
Retrieves the number of components in the list.
Parameters:
oCount
Number of components.
o Item
public virtual HRESULT Item( const unsigned int iPosition,
CATITPSComponent** oItem) const = 0
Retrieves the component number i. First component is at position 0.
Parameters:
iPosition
Position of returned component.
oItem
Returned component.
o Remove
public virtual HRESULT Remove(CATITPSComponent* iItem) = 0
Remove an element from the list.
Parameters:
iItem
Component to be removed.

This object is included in the file: CATITPSList.h

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