All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

CATAnalysisInterfaces Class CATSamAnalysisUpdateTools

CATSamAnalysisUpdateTools
 

Usage: you must use this class as is. You should never derive it.


public class CATSamAnalysisUpdateTools

General tools for Update control.


Method Index


o FindUpdateCycle(CATISpecObject*,CATListPtrCATBaseUnknown*)
Checks whether an update cycle exists inside an object.

Methods


o FindUpdateCycle
public static CATListValCATISpecObject_var* FindUpdateCycle( const CATISpecObject* iFrom,
CATListPtrCATBaseUnknown* iOtherInputs=NULL)
Checks whether an update cycle exists inside an object.
Parameters:
iFrom
is the feature to check.
The
list iOtherInputs contains a list of objects that you would like to put into iFrom as IN.
If NULL, the method will only check the ifrom definition.
Else, the method checks whether a cycle happens (either because iFrom cycles or because adding iOtherInputs as inputs of iFrom would cause a cycle).
Returns:
ListCycle will contain the list of features which cause the cycle. It's up to the caller to delete the ListCycle . Note: It cannot check side effects like objects implementing CATISamAnalysisFeatureUpdate or CATIBuild and thereby potentially producing cycles (reimpacts). All the check is done if iOtherInputs are located the same document as iFrom.

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

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