All Categories  Class Hierarchy  This Category  Previous  Next  Indexes

Product Class CATVPMGraph

CATVPMGraph
 


public class CATVPMGraph

Note:
Following convention is used for naming parameters: parameter names prefixed by:

i are input parameters
o are ouput parameters
io are input/output parameters


Constructor and Destructor Index


o CATVPMGraph()
Create a Graph
o ~CATVPMGraph()

Method Index


o Dump(VPMNode*)
Dump the data of a VPMNode
o GetGraph(int)
Retrieve the graph by its number
o IsValid(CATListOfDouble&,CATDMUsrInstance*,CATListOfInt&,CATVPMNode**)
o ListChildren(VPMNode*,int*,VPMNode**)
Get the list of children of the node
o ListFathers(VPMNode*,int*,VPMNode**)
Get the list of fathers of the node
o Save(char*,CATVPMSaveMode,char*)
Save the graph into a graph session file

Constructor and Destructor


o CATVPMGraph
public CATVPMGraph()
Create a Graph
o ~CATVPMGraph
public virtual ~CATVPMGraph()

Methods


o Dump
public void Dump( const VPMNode* iPart)
Dump the data of a VPMNode
Parameters:
iPart
Part to dump
o GetGraph
public static CATVPMGraph* GetGraph(int numGraph)
Retrieve the graph by its number
Parameters:
numGraph
Num of the graph
o IsValid
public Error IsValid( const CATListOfDouble& iClinks,
CATDMUsrInstance* iRefList,
CATListOfInt& oStruct,
CATVPMNode** oNewPath)
Parameters:
iClinks
List of links
iRefList
List of instance
oStruct
List of return values
oNewPath
The new path
Returns:
Error
o ListChildren
public Error ListChildren( const VPMNode* iPart,
int* oNbChildren,
VPMNode** oChildren)
Get the list of children of the node
Parameters:
iPart
Part to analyze
oNbChildren
Number of children of iPart in the graph
oChildren
array of VPMNodes children of iPart in the graph
Returns:
Error
o ListFathers
public Error ListFathers( const VPMNode* iPart,
int* oNbFathers,
VPMNode** oFathers)
Get the list of fathers of the node
Parameters:
iPart
Part to analyze
oNbFathers
Number of fathers of iPart in the graph
oFathers
Array of VPMNodes fathers of iPart in the graph
Returns:
Error
o Save
public Error Save( const char* iFileName,
const CATVPMSaveMode iSaveSessionMode= Static,
const char* iQueryName= NULL)
Save the graph into a graph session file
Parameters:
iFileName
Name of the file
iQueryName
Name of the query file to select objects

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

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