#include <Visitor.h>
Inheritance diagram for rdbModel::Visitor:
Public Types | |
VCONTINUE = 0 | |
VDONE | |
VBRANCHDONE | |
VERROR | |
VERRORABORT | |
enum | VisitorState { VCONTINUE = 0, VDONE, VBRANCHDONE, VERROR, VERRORABORT } |
Public Member Functions | |
virtual VisitorState | visitRdb (Rdb *)=0 |
This method sets if the visitor is recursive or not. | |
virtual VisitorState | visitTable (Table *)=0 |
virtual VisitorState | visitColumn (Column *)=0 |
virtual VisitorState | visitIndex (Index *)=0 |
virtual VisitorState | visitAssertion (Assertion *)=0 |
virtual VisitorState | visitInsertNew (InsertNew *)=0 |
virtual VisitorState | visitSupersede (Supersede *)=0 |
virtual VisitorState | visitQuery (Query *)=0 |
virtual VisitorState | visitSet (Set *)=0 |
virtual VisitorState | visitInterRow (InterRow *)=0 |
One likly visitor would be something which instantiates a suitable representation, e.g. in a MySQL database, of the tables described
Definition at line 32 of file Visitor.h.
Definition at line 34 of file Visitor.h.
00034 { 00035 VCONTINUE = 0, 00036 VDONE, // visitor has had its fill of visiting 00037 VBRANCHDONE, // don't descend further; go to next sibling, if any 00038 VERROR, // error during visit; perhaps can continue, though 00039 VERRORABORT // error during visit; can't handle more 00040 };
virtual VisitorState rdbModel::Visitor::visitAssertion | ( | Assertion * | ) | [pure virtual] |
Implemented in rdbModel::MysqlConnection.
virtual VisitorState rdbModel::Visitor::visitColumn | ( | Column * | ) | [pure virtual] |
Implemented in rdbModel::MysqlConnection.
virtual VisitorState rdbModel::Visitor::visitIndex | ( | Index * | ) | [pure virtual] |
Implemented in rdbModel::MysqlConnection.
virtual VisitorState rdbModel::Visitor::visitInsertNew | ( | InsertNew * | ) | [pure virtual] |
Implemented in rdbModel::MysqlConnection.
virtual VisitorState rdbModel::Visitor::visitInterRow | ( | InterRow * | ) | [pure virtual] |
Implemented in rdbModel::MysqlConnection.
virtual VisitorState rdbModel::Visitor::visitQuery | ( | Query * | ) | [pure virtual] |
Implemented in rdbModel::MysqlConnection.
virtual VisitorState rdbModel::Visitor::visitRdb | ( | Rdb * | ) | [pure virtual] |
virtual VisitorState rdbModel::Visitor::visitSet | ( | Set * | ) | [pure virtual] |
Implemented in rdbModel::MysqlConnection.
virtual VisitorState rdbModel::Visitor::visitSupersede | ( | Supersede * | ) | [pure virtual] |
Implemented in rdbModel::MysqlConnection.
virtual VisitorState rdbModel::Visitor::visitTable | ( | Table * | ) | [pure virtual] |
Implemented in rdbModel::MysqlConnection.