#include <vv2.h>
Public Methods | |
virtual void | visit (ArgBase &obj) |
Perform the action on the object. | |
void | operator() (ArgBase &obj) |
Allows function object syntax. | |
virtual void | visit (ArgBase &obj) |
Perform the action on the object. | |
Protected Types | |
typedef T | ArgBase |
typedef T | ArgBase |
Protected Methods | |
virtual void | do_visit (ArgBase &obj)=0 |
Performs an action on an object based on ArgBase \obj The object to perform the action on. | |
virtual void | try_visit (ArgBase &obj) |
Provided to allow Visitor to have the same interface as SV. | |
virtual void | do_visit (ArgBase &obj)=0 |
Performs an action on an object based on ArgBase \obj The object to perform the action on. | |
virtual void | try_visit (ArgBase &obj) |
Provided to allow Visitor to have the same interface as SV. |
Can be subclassed to call T.accept(), or as a Virtual Visitor
|
|
|
|
|
Performs an action on an object based on ArgBase \obj The object to perform the action on.
|
|
Provided to allow Visitor to have the same interface as SV. Calls do_visit unconditionally
00029 { 00030 do_visit(obj); 00031 } |
|
Perform the action on the object.
00039 { 00040 do_visit(obj); 00041 } |
|
Allows function object syntax.
00047 { 00048 visit(obj); 00049 } |
|
Performs an action on an object based on ArgBase \obj The object to perform the action on.
|
|
Provided to allow Visitor to have the same interface as SV. Calls do_visit unconditionally
00031 { 00032 do_visit(obj); 00033 } |
|
Perform the action on the object.
00041 { 00042 do_visit(obj); 00043 } |