All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

CATSchPlatformInterfaces Class CATSchListServices

CATSchListServices
 

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


public class CATSchListServices

Tools to manage list of pointers used in schematic platform interface.
Role: For creation and modification list of pointers.


Method Index


o CreateCATICStringList(CATICStringList**)
Create CATICStringList object for a list of character strings.
o CreateCATIUnknownList(CATIUnknownList**)
Create CATIUnknownList object for a list of IUnknown interface pointers.
o IsSameImpl(IUnknown*,IUnknown*)
Compare the 2 input interface pointers and return TRUE if the implementations are the same.
o Locate(CATICStringList*,char*)
Locate a target string from a List of character string interface pointers.
o Locate(CATIUnknownList*,IUnknown*)
Locate a target IUnknown from a List of IUnknown interface pointers.

Methods


o CreateCATICStringList
public HRESULT CreateCATICStringList(CATICStringList** oLCString)
Create CATICStringList object for a list of character strings.
Parameters:
oLCString
A list of character string pointers.
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o CreateCATIUnknownList
public HRESULT CreateCATIUnknownList(CATIUnknownList** oLUnknown)
Create CATIUnknownList object for a list of IUnknown interface pointers.
Parameters:
oLUnknown
A list of interface pointers.
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o IsSameImpl
public CATBoolean IsSameImpl(IUnknown* iIntfPtr1,
IUnknown* iIntfPt2)
Compare the 2 input interface pointers and return TRUE if the implementations are the same.
Parameters:
iIntfPtr1
Interface pointer 1
iIntfPtr1
Interface pointer 2
Returns:
TRUE if the implementations are the same
o Locate
public int Locate(CATICStringList* iLCString,
const char* iTarget)
Locate a target string from a List of character string interface pointers.
Parameters:
iLCString
A list of character string pointers
iTarget
The character string pointer to be located.
Returns:
The position of the target in the list. Set to -1 if not found
o Locate
public int Locate(CATIUnknownList* iLUnknown,
IUnknown* iTargetUnknown)
Locate a target IUnknown from a List of IUnknown interface pointers.
Parameters:
iLUnknown
A list of IUnknown pointers
iTargetUnknown
The IUnknown interface pointers to be located.
Returns:
The position of the target in the list. Set to -1 if not found

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

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