BOSS 7.1.2
BESIII Offline Software System
|
Nested class to keep track of clients for one element type. More...
#include <DocMan.h>
Public Member Functions | |
ClientList (const std::string &eltName) | |
~ClientList () | |
bool | add (DocClient *client, bool front=false) |
Add a client to list. | |
bool | remove (DocClient *client) |
const std::string & | getName () |
which list are we? | |
void | invoke (DomElement *elt) |
call back each client in turn | |
|
inline |
xmlBase::DocMan::ClientList::~ClientList | ( | ) |
Definition at line 115 of file DocMan.cxx.
Add a client to list.
return indicates success or failure (e.g. duplicate). By default new client is added to back of list, but if front is set to true client will go to the front.
Definition at line 85 of file DocMan.cxx.
Referenced by xmlBase::DocMan::regClient().
|
inline |
which list are we?
Definition at line 68 of file DocMan.h.
Referenced by xmlBase::DocMan::findList().
void xmlBase::DocMan::ClientList::invoke | ( | DomElement * | elt | ) |
call back each client in turn
Definition at line 106 of file DocMan.cxx.
Referenced by xmlBase::DocMan::parse().
Remove a client; return indicates success or failure (e.g., client not found)
Definition at line 101 of file DocMan.cxx.