CGEM BOSS 6.6.5.g
BESIII Offline Software System
|
#include <Builder.h>
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 |
This class defines the public interface for the generic functionalities of a builder. Each subclass must provide implementation for its methods.
Definition at line 18 of file Calibration/rdbModel/rdbModel-00-01-01/rdbModel/Management/Builder.h.
|
inline |
Definition at line 21 of file Calibration/rdbModel/rdbModel-00-01-01/rdbModel/Management/Builder.h.
|
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().
|
inline |
This method return a pointer to the internal Rdb
Definition at line 45 of file Calibration/rdbModel/rdbModel-00-01-01/rdbModel/Management/Builder.h.
|
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().
|
inline |
Definition at line 40 of file Calibration/rdbModel/rdbModel-00-01-01/rdbModel/Management/Builder.h.
|
protected |
This is a private pointer to an Rdb used during the building
Definition at line 50 of file Calibration/rdbModel/rdbModel-00-01-01/rdbModel/Management/Builder.h.