Public Methods | |
virtual void | visit (const sdLeafValue *object)=0 |
virtual void | visit (const sdHierValue *object)=0 |
virtual void | visit (const sdAttribute *object)=0 |
virtual void | visit (const sdRelationship *object)=0 |
virtual void | visit (const sdRelationshipSet *object)=0 |
virtual void | visit (const sdObject *object)=0 |
virtual void | visit (const sdNameSpace *object)=0 |
This class uses the visitor design pattern interface, which uses the double dispatch technique to separate the representation from the operation. 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 function visits the specified object. This function is called by the accept function on the sdNameSpace class. The sdVisitor class is abstract and must be overriden by the derived visitor class.
|
|
This function visits the specified object. This function is called by the accept function on the sdObject class. The sdVisitor class is abstract and must be overriden by the derived visitor class.
|
|
This function visits the specified object. This function is called by the accept function on the sdObject class. The sdVisitor class is abstract and must be overriden by the derived visitor class.
|
|
This function visits the specified object. This function is called by the accept function on the sdRelationship class. The sdVisitor class is abstract and must be overriden by the derived visitor class.
|
|
This function visits the specified object. This function is called by the accept function on the sdAttribute class. The sdVisitor class is abstract and must be overriden by the derived visitor class.
|
|
This function visits the specified object. This function is called by the accept function on the sdHierValue class. The sdVisitor class is abstract and must be overriden by the derived visitor class.
|
|
This function visits the specified object. This function is called by the accept function on the sdLeafValue class. The sdVisitor class is abstract and must be overriden by the derived visitor class.
|
Copyright © 2002 - 2010 Cadence Design Systems, Inc.
All Rights Reserved.