BOSS 7.0.8
BESIII Offline Software System
|
#include <IFile.h>
Public Types | |
typedef std::vector< int > | intVector |
typedef std::vector< double > | doubleVector |
Public Member Functions | |
IFile (const char *filename) | |
IFile (const DOMDocument *instrument) | |
IFile (const DOMElement *instrument) | |
virtual | ~IFile () |
virtual bool | contains (const char *section, const char *item) |
virtual int | getInt (const char *section, const char *item) |
virtual double | getDouble (const char *section, const char *item) |
virtual int | getBool (const char *section, const char *item) |
virtual const char * | getString (const char *section, const char *item) |
virtual intVector | getIntVector (const char *section, const char *item) |
virtual doubleVector | getDoubleVector (const char *section, const char *item) |
virtual int | getInt (const char *section, const char *item, int defValue) |
virtual double | getDouble (const char *section, const char *item, double defValue) |
virtual int | getBool (const char *section, const char *item, int defValue) |
virtual const char * | getString (const char *section, const char *item, const char *defValue) |
virtual intVector | getIntVector (const char *section, const char *item, intVector defValues) |
virtual doubleVector | getDoubleVector (const char *section, const char *item, doubleVector defValues) |
void | setString (const char *section, const char *item, const char *newString) |
void | print () |
virtual void | printOn (std::ostream &out=std::cout) |
Protected Member Functions | |
IFile () | |
Static Protected Member Functions | |
static void | stripBlanks (char *str1, const char *str2, int flags) |
static int | stricmp (const char *str1, const char *str2) |
Friends | |
class | IFile_Section |
class | IFile_Item |
typedef std::vector<double> xmlBase::IFile::doubleVector |
typedef std::vector<int> xmlBase::IFile::intVector |
xmlBase::IFile::IFile | ( | const char * | filename | ) |
Definition at line 136 of file IFile.cxx.
xmlBase::IFile::IFile | ( | const DOMDocument * | instrument | ) |
Definition at line 106 of file IFile.cxx.
xmlBase::IFile::IFile | ( | const DOMElement * | instrument | ) |
Definition at line 120 of file IFile.cxx.
|
virtual |
|
virtual |
Definition at line 231 of file IFile.cxx.
Referenced by getBool(), getDouble(), getDoubleVector(), getInt(), getIntVector(), getString(), and lookFor().
|
virtual |
Definition at line 351 of file IFile.cxx.
Referenced by getBool().
|
virtual |
Definition at line 444 of file IFile.cxx.
|
virtual |
Definition at line 316 of file IFile.cxx.
Referenced by getDouble(), and lookFor().
|
virtual |
Definition at line 449 of file IFile.cxx.
|
virtual |
Definition at line 409 of file IFile.cxx.
Referenced by getDoubleVector().
|
virtual |
Definition at line 465 of file IFile.cxx.
|
virtual |
Definition at line 334 of file IFile.cxx.
|
virtual |
|
virtual |
Definition at line 378 of file IFile.cxx.
Referenced by getIntVector().
|
virtual |
Definition at line 459 of file IFile.cxx.
|
virtual |
Definition at line 286 of file IFile.cxx.
Referenced by getString(), and lookFor().
|
virtual |
Definition at line 454 of file IFile.cxx.
void xmlBase::IFile::print | ( | ) |
|
virtual |
Definition at line 30 of file IFile.cxx.
Referenced by print().
void xmlBase::IFile::setString | ( | const char * | section, |
const char * | item, | ||
const char * | newString | ||
) |
Definition at line 293 of file IFile.cxx.
|
staticprotected |
|
staticprotected |
Definition at line 58 of file IFile.cxx.
Referenced by setString().
|
friend |
|
friend |