System CATBaseCollection

Usage: you can derive this class.


public class CATBaseCollection

Adaptor class for the CATIACollection Interface.
Role: This class provides a partial default implementation for the CATIACollection interface. All implementations of Automation interfaces being derived from CATIACollection should inherit from CATBaseCollection.

See also:


Constructor and Destructor Index


o CATBaseCollection()
Default constructor.
o CATBaseCollection(CATBaseCollection&)
Copy constructor.
o ~CATBaseCollection()

Method Index


o GetItem(CATBSTR&,CATBaseDispatch*&)
Retrieves an object with the specified name.
o get_Application(CATIAApplication*&)
Returns the application.
o get_Parent(CATBaseDispatch*&)
Returns the parent of the object.

Constructor and Destructor


o CATBaseCollection
public CATBaseCollection()
Default constructor.
o CATBaseCollection
public CATBaseCollection( const iSrc)
Copy constructor.
Parameters:
iSrc
The object to copy
o ~CATBaseCollection
public virtual ~CATBaseCollection()

Methods


o GetItem
public virtual GetItem( const iName,
oItem)
Retrieves an object with the specified name. See for a complete description of this method. All implementations must override this default implementation.
Parameters:
iName
The specified name of the object to retrieve
oItem
The returned object
o get_Application
public virtual get_Application( oApplication)
Returns the application. See for a complete description of this method.
Parameters:
oApplication
The returned application
o get_Parent
public virtual get_Parent( oParent)
Returns the parent of the object. See for a complete description of this method. All implementations must override this default implementation.
Parameters:
oParent
The returned parent

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

Copyright © 1999-2015, Dassault Systèmes. All rights reserved.