DABC (Data Acquisition Backbone Core)
2.9.9
|
Interface class between xml configuration and dabc objects. More...
#include <dabc/ConfigIO.h>
Public Member Functions | |
bool | CheckAttr (const char *name, const char *value) |
Check if item, found by FindItem routine, has attribute with specified value. More... | |
ConfigIO (Configuration *cfg, int id=-1) | |
ConfigIO (const ConfigIO &src) | |
bool | FindItem (const char *name) |
bool | ReadRecordField (Object *obj, const std::string &name, RecordField *field, RecordFieldsMap *fieldsmap) |
virtual | ~ConfigIO () |
Protected Member Functions | |
XMLNodePointer_t | FindSubItem (XMLNodePointer_t node, const char *name) |
std::string | ResolveEnv (const char *value) |
Static Protected Member Functions | |
static Object * | GetObjParent (Object *obj, int lvl) |
Protected Attributes | |
Configuration * | fCfg |
pointer on configuration object More... | |
int | fCgfId |
special ID which can be used ${}# formula More... | |
XMLNodePointer_t | fCurrChld |
selected child in current item More... | |
XMLNodePointer_t | fCurrItem |
currently found item More... | |
bool | fCurrStrict |
must have strict syntax match More... | |
Interface class between xml configuration and dabc objects.
Used to find xml nodes, which correspond to dabc objects like module or application
Definition at line 38 of file ConfigIO.h.
dabc::ConfigIO::ConfigIO | ( | Configuration * | cfg, |
int | id = -1 |
||
) |
Definition at line 24 of file ConfigIO.cxx.
dabc::ConfigIO::ConfigIO | ( | const ConfigIO & | src | ) |
Definition at line 33 of file ConfigIO.cxx.
|
inlinevirtual |
Definition at line 61 of file ConfigIO.h.
|
protected |
Definition at line 112 of file ConfigIO.cxx.
|
staticprotected |
Definition at line 99 of file ConfigIO.cxx.
|
protected |
Definition at line 123 of file ConfigIO.cxx.
bool dabc::ConfigIO::FindItem | ( | const char * | name | ) |
Definition at line 42 of file ConfigIO.cxx.
bool dabc::ConfigIO::CheckAttr | ( | const char * | name, |
const char * | value | ||
) |
Check if item, found by FindItem routine, has attribute with specified value.
Definition at line 63 of file ConfigIO.cxx.
bool dabc::ConfigIO::ReadRecordField | ( | Object * | obj, |
const std::string & | name, | ||
RecordField * | field, | ||
RecordFieldsMap * | fieldsmap | ||
) |
Definition at line 132 of file ConfigIO.cxx.
|
protected |
pointer on configuration object
Definition at line 43 of file ConfigIO.h.
|
protected |
currently found item
Definition at line 45 of file ConfigIO.h.
|
protected |
selected child in current item
Definition at line 46 of file ConfigIO.h.
|
protected |
must have strict syntax match
Definition at line 47 of file ConfigIO.h.
|
protected |
special ID which can be used ${}# formula
Definition at line 48 of file ConfigIO.h.