System CATBaseObject
Usage: you can derive this class.
public class CATBaseObject
Adaptor class for the CATIABase Interface.
Role:
This class provides a default implementation for the CATIABase interface.
All implementations of Automation interfaces being derived from CATIABase should inherit
from CATBaseObject.
- See also:
-
Constructor and Destructor Index
- o
CATBaseObject()
- Default constructor.
- o
CATBaseObject(CATBaseDispatch*)
- Constructs a CATBaseObject with the given parent.
Method Index
- o
GetItem(CATBSTR&,CATBaseDispatch*&)
- Retrieves an object with the specified name.
- o
SetParent(CATBaseDispatch*)
- Sets the parent of the CATBaseObject.
- o
get_Application(CATIAApplication*&)
- Returns the application.
- o
get_Name(CATBSTR&)
- Returns the name of the object.
- o
get_Parent(CATBaseDispatch*&)
- Returns the parent of the object.
- o
put_Name(CATBSTR&)
- Sets the name of the object.
Data Member Index
- o
_name
- The name of the object.
- o
_parent
- The stored parent.
Constructor and Destructor
o CATBaseObject
-
Default constructor.
o CATBaseObject
public CATBaseObject( | | iParent) |
-
Constructs a CATBaseObject with the given parent.
- Parameters:
-
- iParent
- The parent of the CATBaseObject
Methods
o GetItem
public virtual GetItem( | const | iNameBSTR, |
| | oObject) |
-
Retrieves an object with the specified name.
See
for a complete description of this method. All implementations must override this default implementation.
- Parameters:
-
- iNameBSTR
- The specified name of the object to retrieve
- oObject
- The returned object
o SetParent
public SetParent( | | iParent) |
-
Sets the parent of the CATBaseObject.
- Parameters:
-
- iParent
- The parent of the CATBaseObject
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_Name
public virtual get_Name( | | oNameBSTR) |
-
Returns the name of the object.
See
for a complete description of this method. All implementations must override this default implementation.
- Parameters:
-
- oNameBSTR
- The returned name
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
o put_Name
public virtual put_Name( | const | iNameBSTR) |
-
Sets the name of the object.
See
for a complete description of this method. All implementations must override this default implementation.
- Parameters:
-
- iNameBSTR
- The name to set
Data Members
o _name
protected CATUnicodeString _name
-
The name of the object.
o _parent
protected CATBaseDispatch *_parent
-
The stored parent.
This object is included in the file: CATBaseObject.h
If needed, your Imakefile.mk should include the module: JS0GROUP
Copyright © 1999-2015, Dassault Systèmes. All rights reserved.