All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

System Class CATBaseCollection

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---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:
CATIACollection


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 CATBaseCollection& iSrc)
Copy constructor.
Parameters:
iSrc
The object to copy
o ~CATBaseCollection
public virtual ~CATBaseCollection()

Methods


o GetItem
public virtual HRESULT __stdcall GetItem( const CATBSTR& iName,
CATBaseDispatch*& oItem)
Retrieves an object with the specified name. See CATIACollection.GetItem 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 HRESULT __stdcall get_Application(CATIAApplication*& oApplication)
Returns the application. See CATIACollection.get_Application for a complete description of this method.
Parameters:
oApplication
The returned application
o get_Parent
public virtual HRESULT __stdcall get_Parent(CATBaseDispatch*& oParent)
Returns the parent of the object. See CATIACollection.get_Parent 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 © 2003, Dassault Systèmes. All rights reserved.