Public Methods | |
virtual | ~srVisitor () |
virtual void | visit (srObjectRef *object)=0 |
virtual void | visit (srObjectState *object)=0 |
virtual void | visit (sr1to1Relationship *object)=0 |
virtual void | visit (sr1toNRelationship *object)=0 |
virtual void | visit (srRelationshipBase *object)=0 |
virtual void | visit (srAttributeBase *object)=0 |
virtual void | visit (srValueBase *object)=0 |
The srVisitor class uses the visitor design pattern interface, which provides a way to encapsulate an operation that you want to perform on the elements of a data structure. The visitor design pattern interface uses a dual dispatch technique. Each concrete node in the data structure has an accept method, which provides access to a visitor. The accept method sends a message to the visitor that includes the node's class. The visitor can then execute its behavior for that element.
|
This is the srVisitor destructor. |
|
This function visits the specified srValueBase object. This function is called by the accept function on the srValueBase class.
|
|
This function visits the specified srAttributeBase object. This function is called by the accept function on the srAttributeBase class.
|
|
|
|
This function visits the specified sr1toNRelationship object. This function is called by the accept function on the sr1toNRelationship class. The srVisitor class is abstract and must be overridden by the derived visitor class.
|
|
This function visits the specified sr1to1Relationship object. This function is called by the accept function on the sr1to1Relationship class. The srVisitor class is abstract and must be overridden by the derived visitor class.
|
|
This function visits the specified srObjectState object. This function is called by the accept function on the srObjectState class. The srVisitor class is abstract and must be overridden by the derived visitor class.
|
|
This function visits the specified object. This function is called by the accept function on the srObjectRef class. The srVisitor class is abstract and must be overridden by the derived visitor class.
|
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.