oaDestroyObjectChangeRec Class Reference

Inheritance diagram for oaDestroyObjectChangeRec:

oaObjectChangeRec oaLeafChangeRec oaChangeRec


Public Methods

 oaDestroyObjectChangeRec (oaChangeSetBase *changeSetIn, oaCMObjectRef::SPtr objectRefIn)
virtual oaBoolean isDestroyObjectChangeRec () const
virtual void accept (oaChangeRecVisitor *visitor, oaBoolean forward=true)

Detailed Description

The oaDestroyObjectChangeRec class represents a change record that captures information related to the destruction of an object.

Change records are used by the OpenAccess change management system (CMS).


Constructor & Destructor Documentation

oaDestroyObjectChangeRec::oaDestroyObjectChangeRec oaChangeSetBase *    changeSetIn,
oaCMObjectRef::SPtr    objectRefIn
 

This is the oaDestroyObjectChangeRec constructor.

Parameters:
changeSetIn A pointer to the change set to contain the change record.
objectRefIn A smart pointer to an oaCMObjectRef for the object that is the subject of this change record.


Member Function Documentation

void oaDestroyObjectChangeRec::accept oaChangeRecVisitor *    visitor,
oaBoolean    forward = true
[virtual]
 

This function accepts a change record visitor. It calls the visit function of the specified visitor on this object.

The forward parameter indicates the direction in which the change records are being visited. The forward parameter might be set to false if the goal of the visit is to roll back changes due to an undo command.

Parameters:
visitor A pointer to the change record visitor to call on this object.
forward Specifies the direction in which change records are being visited.

Implements oaChangeRec.

oaBoolean oaDestroyObjectChangeRec::isDestroyObjectChangeRec   const [virtual]
 

This function always returns true to indicate that this change record represents the destruction of an object.

Reimplemented from oaChangeRec.


The documentation for this class was generated from the following files:

Return to top of page