1 #ifndef _L_ROOT_GLOBAL_READER_HH_
2 #define _L_ROOT_GLOBAL_READER_HH_
25 QError Open(
const std::string& filename,
const std::string& opt =
"");
29 const Diana::QObject*
GetQObject(
const std::string& name,
const std::string& className,
QError&
err)
const;
global reader for txt files
bool GetBool(const std::string &name, QError &err) const
float GetFloat(const std::string &name, QError &err) const
QError Open(const std::string &filename, const std::string &opt="")
Open file, called by QGlobalReaderDispatcher.
QError Close()
Close file, called by QGlobalReaderDispatcher.
const Diana::QObject * GetQObject(const std::string &name, const std::string &className, QError &err) const
int GetInt(const std::string &name, QError &err) const
std::string GetString(const std::string &name, QError &err) const
std::map< std::string, Diana::QObject * > * fQObjectCache
double GetDouble(const std::string &name, QError &err) const
Class for reading and writing ascii text files.
error class with error type and description
Abstract class for global readers.