All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

VPMDesktopObjects Interface CATIAVPMVDAReplace

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---System.CATBaseDispatch
        |
        +---System.CATIABase
          |
          +---VPMDesktopObjects.CATIAVPMVDACommand
            |
            +---CATIAVPMVDAReplace
 

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


interface CATIAVPMVDAReplace

This interface is used to replace a part reference.
Role : This interface deletes a Business Object from memory and from database.


Method Index


o get_Instance(ENOVIABusinessObject*&)
Retrieves the part instance.
o get_OutputInstance(ENOVIABusinessObject*&)
Retrieves the resulting output instance.
o get_Part(ENOVIABusinessObject*&)
Retrieves the part reference.
o put_Instance(ENOVIABusinessObject*)
Sets the part instance.
o put_Part(ENOVIABusinessObject*)
Sets the reference to be replaced.

Methods


o get_Instance
public virtual HRESULT __stdcall get_Instance(ENOVIABusinessObject*& instance)=0
Retrieves the part instance.
Parameters:
instance.
Returns:
S_OK or E_FAIL.
o get_OutputInstance
public virtual HRESULT __stdcall get_OutputInstance(ENOVIABusinessObject*& outputinstance)=0
Retrieves the resulting output instance.
Parameters:
outputinstance.
Returns:
S_OK or E_FAIL.
o get_Part
public virtual HRESULT __stdcall get_Part(ENOVIABusinessObject*& reference)=0
Retrieves the part reference.
Parameters:
reference.
Returns:
S_OK or E_FAIL.
o put_Instance
public virtual HRESULT __stdcall put_Instance(ENOVIABusinessObject* instance)=0
Sets the part instance.
Parameters:
instance
The instance object to be replaced.
Returns:
S_OK or E_FAIL.
o put_Part
public virtual HRESULT __stdcall put_Part(ENOVIABusinessObject* reference)=0
Sets the reference to be replaced.
Parameters:
reference
The reference object to be replaced.
Returns:
S_OK or E_FAIL.

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

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