#include <Builder.h>
Inheritance diagram for rdbModel::Builder:
Public Member Functions | |
Builder () | |
virtual unsigned int | parseInput (const std::string &)=0 |
virtual int | buildRdb ()=0 |
void | setRdb (Rdb *pRdb) |
Rdb * | getRdb () |
Protected Attributes | |
Rdb * | m_currentRdb |
Definition at line 18 of file Builder.h.
virtual int rdbModel::Builder::buildRdb | ( | ) | [pure virtual] |
This method start the parser (implemented in a concrete subclass of this class) for the sections part and put the result in a private pointer Return is number of tables built. If negative, indicates error.
Implemented in rdbModel::XercesBuilder.
Referenced by rdbModel::Manager::build().
Rdb* rdbModel::Builder::getRdb | ( | ) | [inline] |
This method return a pointer to the internal Rdb
Definition at line 45 of file Builder.h.
00045 { return m_currentRdb; };
virtual unsigned int rdbModel::Builder::parseInput | ( | const std::string & | ) | [pure virtual] |
This method parses the input into an intermediate in-memeory form. For now, the only acceptable input source is an xml file and the intermediate form is its DOM represenation. Conceivably could accept other forms someday. Return is to be interpreted as error code: 0 is ok.
Implemented in rdbModel::XercesBuilder.
Referenced by rdbModel::Manager::build().
void rdbModel::Builder::setRdb | ( | Rdb * | pRdb | ) | [inline] |
Rdb* rdbModel::Builder::m_currentRdb [protected] |