oaUnsetAttributeChangeRec Class Reference

Inheritance diagram for oaUnsetAttributeChangeRec:

oaAttributeChangeRec oaLeafChangeRec oaChangeRec


Public Methods

 oaUnsetAttributeChangeRec (oaChangeSetBase *changeSetIn, oaCMObjectRef::SPtr ownerIn, sd::sdAttribute *attrIn)
virtual ~oaUnsetAttributeChangeRec ()
virtual const sd::sdAttributegetSchemaDefinition () const
virtual oaCMObjectRef::SPtr getOwner () const
virtual void accept (oaChangeRecVisitor *visitor, oaBoolean forward=true)

Detailed Description

The oaUnsetAttributeChangeRec class represents a change record that captures information related to unsetting the value of an attribute.

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


Constructor & Destructor Documentation

oaUnsetAttributeChangeRec::oaUnsetAttributeChangeRec oaChangeSetBase *    changeSetIn,
oaCMObjectRef::SPtr    ownerIn,
sd::sdAttribute *    attrIn
 

This is the oaUnsetAttributeChangeRec constructor.

Parameters:
changeSetIn A pointer to the change set to contain the change record.
ownerIn A smart pointer to the object reference for the owning object for the attribute.
attrIn A pointer to the schema definition for the attribute whose value was unset.

oaUnsetAttributeChangeRec::~oaUnsetAttributeChangeRec   [virtual]
 

This is the oaUnsetAttributeChangeRec destructor.


Member Function Documentation

void oaUnsetAttributeChangeRec::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.

virtual oaCMObjectRef::SPtr oaUnsetAttributeChangeRec::getOwner   const [virtual]
 

This function returns a smart pointer to an oaCMObjectRef that is the owning object for the attribute that is the subject of this oaAttributeChangeRec.

Implements oaAttributeChangeRec.

sd::sdAttribute * oaUnsetAttributeChangeRec::getSchemaDefinition   const [virtual]
 

This function returns a pointer to the schema definition for the attribute that is the subject of this oaUnsetAttributeChangeRec.

Implements oaAttributeChangeRec.


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

Return to top of page