All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

VPMInterfaces Interface ENOVIRootDesktop

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

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


interface ENOVIRootDesktop

Top level aggregation object.

Role: A singleton class, used to create Procduct Classes, PartMasters. Product Classes are directly below this singleton.


Method Index


o CreatePartMaster(CATUnicodeString&,CATIAVPMPartMaster*&,int)
Creates a PartMaster.
o CreateProductClass(CATUnicodeString&,CATIAVPMProductClass*&)
Creates a ProductClass.
o GetProductClassList(CATIVpmPredicate*,CATLISTV(CATBaseUnknown_var)&)
Get the list of ProductClass.

Methods


o CreatePartMaster
public virtual HRESULT CreatePartMaster( const CATUnicodeString& iId,
CATIAVPMPartMaster*& oPartMaster,
int iConfigurable=1)=0
Creates a PartMaster.
Parameters:
iId
PartMaster Id.
oPartMaster
the created PartMaster.
iConfigurable
A flag to indicate if the created PartMaster is configurable or not.
  • 1: PartMaster is configurable, default value.
  • 0: PartMaster is not configurable.
Returns:
S_OK The method succeeds.
Returns:
E_FAIL The method fails.
o CreateProductClass
public virtual HRESULT CreateProductClass(CATUnicodeString& iId,
CATIAVPMProductClass*& oProductClass)=0
Creates a ProductClass. A ProductClass is a top level object. It is used to aggregate one or several Product Root Class.
Parameters:
iId
ProductClass Id.
oProductClass
the created ProductClass.
Returns:
S_OK The method succeeds.
Returns:
E_FAIL The method fails.
o GetProductClassList
public virtual HRESULT GetProductClassList(CATIVpmPredicate* iPredicate,
CATLISTV(CATBaseUnknown_var)& oPCList)=0
Get the list of ProductClass.
Parameters:
oPCList
the list of ProductClass.
iPredicate
Predicate to apply to this request.
Returns:
S_OK The method succeeds.
Returns:
E_FAIL The method fails.

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

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