|
BOSS 8.0.0
BESIII Offline Software System
|
DocMan allows different clients to share a single xml document. More...
#include <DocMan.h>
Classes | |
| class | ClientList |
| Nested class to keep track of clients for one element type. More... | |
Public Member Functions | |
| virtual bool | parse (const std::string &filename, const std::string &docType=std::string("")) |
| virtual bool | regClient (const std::string &eltName, DocClient *client) |
| virtual bool | parse (const std::string &filename, const std::string &docType=std::string("")) |
| virtual bool | regClient (const std::string &eltName, DocClient *client) |
| virtual bool | parse (const std::string &filename, const std::string &docType=std::string("")) |
| virtual bool | regClient (const std::string &eltName, DocClient *client) |
Static Public Member Functions | |
| static DocMan * | getPointer () |
| Implements singleton. | |
| static DocMan * | getPointer () |
| Implements singleton. | |
| static DocMan * | getPointer () |
| Implements singleton. | |
Protected Member Functions | |
| DocMan () | |
| virtual | ~DocMan () |
| bool | regMeFirst (DocClient *client) |
| Register privileged client; only available to derived classes. | |
| ClientList * | findList (const std::string &eltName) |
| DocMan () | |
| virtual | ~DocMan () |
| bool | regMeFirst (DocClient *client) |
| Register privileged client; only available to derived classes. | |
| ClientList * | findList (const std::string &eltName) |
| DocMan () | |
| virtual | ~DocMan () |
| bool | regMeFirst (DocClient *client) |
| Register privileged client; only available to derived classes. | |
| ClientList * | findList (const std::string &eltName) |
DocMan allows different clients to share a single xml document.
Clients may sign up to handle particular child elements (direct children only of the root element). Then when the DocMan object (there is only one: it's a singleton) is asked to parse a file it
Definition at line 32 of file Calibration/xmlBase/include/xmlBase/docMan/DocMan.h.
|
protected |
Definition at line 17 of file DocMan.cxx.
Referenced by findList(), and getPointer().
|
protectedvirtual |
Definition at line 121 of file DocMan.cxx.
|
protected |
|
protectedvirtual |
|
protected |
|
protectedvirtual |
|
protected |
Definition at line 76 of file DocMan.cxx.
Referenced by parse(), and regClient().
|
protected |
|
protected |
|
static |
|
static |
Implements singleton.
|
static |
Implements singleton.
|
virtual |
parse not only parses and creates DOM; it also calls back registered clients.
Return false if something goes wrong with the parse
Definition at line 28 of file DocMan.cxx.
Referenced by parse().
|
virtual |
parse not only parses and creates DOM; it also calls back registered clients.
Return false if something goes wrong with the parse
|
virtual |
parse not only parses and creates DOM; it also calls back registered clients.
Return false if something goes wrong with the parse
|
virtual |
Definition at line 59 of file DocMan.cxx.
|
virtual |
|
virtual |
|
protected |
Register privileged client; only available to derived classes.
Definition at line 69 of file DocMan.cxx.
|
protected |
Register privileged client; only available to derived classes.
|
protected |
Register privileged client; only available to derived classes.