All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

VPMInterfaces Interface CATIAVPMProductSpecification2

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---CATIAVPMProductSpecification2
 

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


interface CATIAVPMProductSpecification2

Interface to retrieve ProductSpecs that qualify an item instance.
Role: This interface exposes the some of the methods of ProductSpecification


Method Index


o get_ConfigurableObject(CATIConfigurableObject*&)
Retrieve the Confdiguration (ConfigurableObject) of the Product under which the ProductSpec is created.
o get_Description(CATUnicodeString&)
Retrieve the Description saved under this ProductSpecification.
o get_ProductRootClass(CATIAVPMProductRootClass*&)
Retrieve the Product under which this ProductSpecification is created.
o put_Description(CATUnicodeString&)
Set the Description for this ProductSpecification.

Methods


o get_ConfigurableObject
public virtual HRESULT get_ConfigurableObject(CATIConfigurableObject*& ConfigurableObject)=0
Retrieve the Confdiguration (ConfigurableObject) of the Product under which the ProductSpec is created.
Parameters:
oConfigurableObject
The retrieved ConfigurableObject of the Parent.
Returns:
S_OK in case of success, E_FAIL in case of error.
o get_Description
public virtual HRESULT get_Description(CATUnicodeString& oDescription)=0
Retrieve the Description saved under this ProductSpecification.
Parameters:
oDescription
The Description of this ProductSpecification.
Returns:
S_OK in case of success, E_FAIL in case of error.
o get_ProductRootClass
public virtual HRESULT get_ProductRootClass(CATIAVPMProductRootClass*& oProductRootClass)=0
Retrieve the Product under which this ProductSpecification is created.
Parameters:
oProductRootClass
Parent Product is retrieved.
Returns:
S_OK in case of success, E_FAIL in case of error.
o put_Description
public virtual HRESULT put_Description(CATUnicodeString& iDescription)=0
Set the Description for this ProductSpecification.
Parameters:
iDescription
The Description to be set.
Returns:
S_OK in case of success, E_FAIL in case of error.

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

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