All Frameworks  Class Hierarchy  This Framework  Indexes   

VPMInterfaces Interface ENOVIGraphManagement

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


interface ENOVIGraphManagement

Interface to perform graph operations on ENOVIA objects.
Role: ENOVIGraphManagement is implemented by the FactoryManager singleton which you can get by calling VPMSession::GetVPMObjectFactory. This interface is implemented and ready to be used.


Method Index


o GetGraphManager(CATBaseUnknown_var&,CATIVpmGraphMng_var&)
gives the graph manager for the given object.
o GetListOfStatus(CATBaseUnknown_var&,CATLISTV(CATBaseUnknown_var)&)
gives the list of valid statuses for the given object.
o StepForward(CATBaseUnknown_var&,CATUnicodeString&,CATUnicodeString&)
Change the status of a VPMObject.

Methods


o GetGraphManager
public virtual GetGraphManager( const iObject,
oGraphMng)
gives the graph manager for the given object.
Parameters:
iObject
a VPMObject whose CATIVpmGraphMng you want to retrieve
oGraphMng
the placeholder where the expected CATIVpmGraphMng is returned.
o GetListOfStatus
public virtual GetListOfStatus( const iObject,
oStatusList)
gives the list of valid statuses for the given object.
Parameters:
iObject
a VPMObject whose statuses list you want to retrieve
oStatusList
the returned list of status objects.
o StepForward
public virtual StepForward( const iObject,
const iTransition,
oNewStatus)
Change the status of a VPMObject.
Parameters:
iObject
a VPMObject whose status you want to change
iTransition
the name of the transition you want the object to go through. From the start status, the object may reach several possible valid statuses, this parameter lets you specify which arc (also called a transition) of the graph you want to take. This method cannot be name 'promote' because, depending on the semantics of the transition, it may designate either a promotion operation, or a demotion operation.
oNewStatus
the name of the status that iObject has reached via this step forward.

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

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