Files Classes Functions Hierarchy
#include <visitbase.h>
Public Member Functions | |
| virtual boolc | visit (visitbase &w) |
| The default call says that w operator/data was not matched. | |
| boolc | operator() (visitbase &x) |
| Binary operator between the two objects. | |
| boolc | operator() (visitbase *x) |
| virtual | ~visitbase () |
| Cleanup. | |
Definition at line 9 of file visitbase.h.
| virtual visitbase::~visitbase | ( | ) | [inline, virtual] |
Definition at line 26 of file visitbase.h.
References visit().
00027 { 00028 assert(x!=0); 00029 00030 if( this->visit(*x) ) 00031 return true; 00032 return x->visit(*this); 00033 }
Binary operator between the two objects.
Return true when a match was found (the expected case).
Definition at line 19 of file visitbase.h.
References visit().
The default call says that w operator/data was not matched.
Reimplemented in visitdataC, and visitprint.
Definition at line 14 of file visitbase.h.
Referenced by operator()().
1.5.8