BOSS 7.1.2
BESIII Offline Software System
|
#include <Manager.h>
Public Member Functions | |
~Manager () | |
void | setBuilder (Builder *b) |
int | build () |
void | startVisitor (Visitor *) |
This method starts the visit of a hierarchy with a specified visitor. | |
void | cleanRdb () |
Rdb * | getRdb () |
void | setInputSource (std::string pname) |
std::string | getInputSourceString () |
Static Public Member Functions | |
static Manager * | getManager () |
Protected Member Functions | |
Manager () | |
This class implement the manager for the sections part of the XML file. It is a singleton.
rdbModel::Manager::~Manager | ( | ) |
The destructor must be invoched by the client before leaving the application. It will destroy explicitely the Rdb object and this will start the deallocation of all the objects hierarchy
Definition at line 18 of file Manager.cxx.
|
inlineprotected |
The constructor is protected; in such a way it is forbidden to * build directely a manager. Here the new Rdb object is explicitely built
Definition at line 61 of file Manager.h.
Referenced by getManager().
int rdbModel::Manager::build | ( | ) |
This method start the parse of the xml file by the builder. It returns an error code (0 if all ok)
Definition at line 43 of file Manager.cxx.
Referenced by main().
void rdbModel::Manager::cleanRdb | ( | ) |
Definition at line 31 of file Manager.cxx.
|
inline |
|
static |
This method is used to access the pointer to the singleton
Definition at line 24 of file Manager.cxx.
Referenced by rdbModel::XercesBuilder::buildRdb(), and main().
|
inline |
This method gives back the pointer to the Rdb object. It coule be used by expert clients to access information without the need of a visitor
Definition at line 48 of file Manager.h.
Referenced by rdbModel::XercesBuilder::buildRdb(), and main().
void rdbModel::Manager::setBuilder | ( | Builder * | b | ) |
This method is used to specify a builder to be used by the manager.
Definition at line 37 of file Manager.cxx.
Referenced by main().
|
inline |
void rdbModel::Manager::startVisitor | ( | Visitor * | v | ) |
This method starts the visit of a hierarchy with a specified visitor.
Definition at line 53 of file Manager.cxx.