All Frameworks Class Hierarchy This Framework Previous Next Indexes
System.IUnknown | +---System.IDispatch | +---System.CATBaseUnknown | +---System.CATEventSubscriber | +---System.CATCommand | +---DialogEngine.CATDialogAgent | +---DialogEngine.CATStateCommand | +---CATMMUIStateCommand
Usage: you can derive this class.
public class CATMMUIStateCommand
Basic class for mechanical feature creation and edition commands.
Role: This class is a base class to edit or create a mechanical feature.
Do not derive it directly, but derive one of its deriving class.
About the edited/created feature(s) :
there are two cases to consider:
public CATMMUIStateCommand( | const CATString& | iName, | |
CATDlgEngBehavior | iBehavior | = NULL, | |
CATCommandMode | iStatus | = CATCommandModeExclusive, | |
const CATPathElement* | iWorkingPath | = 0, | |
const CATPathElement* | iActiveObjectPath | = 0) |
public virtual ~CATMMUIStateCommand( | ) |
public HRESULT AddElementsInHSO( | CATLISTP(CATBaseUnknown)* | iObjectList) |
public CATPathElement* AddInCSO( | CATBaseUnknown* | iObject) |
public CATPathElement* AddInHSO( | CATBaseUnknown* | iObject) |
public CATBaseUnknown* AddInISO( | CATBaseUnknown* | iObject) |
public CATPathElement* AddInPSO( | CATBaseUnknown* | iObject) |
public virtual CATStatusChangeRC Cancel( | CATCommand* | iCmd, |
CATNotification* | iNotif) |
public void EmptySO( | ) |
public CATPathElement* GetActiveObjectPath( | ) |
public CATCSO* GetCSO( | ) |
public CATISpecObject_var GetCurrentFeature( | ) |
public CATFrmEditor* GetEditor( | ) |
public CATHSO* GetHSO( | ) |
public CATISO* GetISO( | ) |
public CATPSO* GetPSO( | ) |
public CATIPrtPart_var GetPart( | ) |
public CATPathElement* GetWorkingPath( | ) |
public virtual CATISpecObject_var GiveMyFeature( | ) |
public virtual CATLISTV(CATISpecObject_var) GiveMyFeatures( | ) |
public CATPathElement* GivePathElementFrom( | CATBaseUnknown* | iObject) |
public void SetActiveObject( | CATBaseUnknown* | iObject) |
public void SetActiveObjectPath( | const CATPathElement* | iActiveObjectPath) |
public void SetCurrentFeature( | CATISpecObject* | iFeature) |
public void SetWorkingPath( | const CATPathElement* | iWorkingPath) |
protected CATISpecObject_var _MyFeature
Copyright © 2003, Dassault Systèmes. All rights reserved.