All Frameworks Class Hierarchy This Framework Indexes
VPMInterfaces Interface 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 CreatePartMaster( | const | iId, |
| | oPartMaster, |
| | iConfigurable | =1) |
-
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 CreateProductClass( | | iId, |
| | oProductClass) |
-
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 GetProductClassList( | | iPredicate, |
| | oPCList) |
-
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