All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

CATAnalysisInterfaces Notification CATSamDocNotification

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---System.CATNotification
        |
        +---CATSamDocNotification
 

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


public class CATSamDocNotification

Class representing a notification send when the analysis document is loaded of saved.
Role: An instance of this class is sent by the CATAnalysis document when the load or save operation are performed.

See also:
CATSamDocActionType


Constructor and Destructor Index


o CATSamDocNotification(CATSamDocActionType,CATDocument*)
o CATSamDocNotification(CATSamDocActionType,CATDocument*,CATUnicodeString,CATUnicodeString)
o ~CATSamDocNotification()

Method Index


o GetActionType()
Returns the action type.
o GetDocument()
Returns the document involved.
o GiveNewName()
Returns the new name of the document after a renaming.
o GiveOldName()
Returns the old name of the document before a renaming.

Constructor and Destructor


o CATSamDocNotification
public CATSamDocNotification(CATSamDocActionType iActionType,
CATDocument* iDocument)
o CATSamDocNotification
public CATSamDocNotification(CATSamDocActionType iActionType,
CATDocument* iDocument,
CATUnicodeString iOldName,
CATUnicodeString iNewName)
o ~CATSamDocNotification
public virtual ~CATSamDocNotification()

Methods


o GetActionType
public CATSamDocActionType GetActionType()
Returns the action type.
Returns:
action type.
o GetDocument
public CATDocument* GetDocument()
Returns the document involved.
Returns:
the analysis document.
o GiveNewName
public CATUnicodeString GiveNewName()
Returns the new name of the document after a renaming.
o GiveOldName
public CATUnicodeString GiveOldName()
Returns the old name of the document before a renaming.

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

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