1 #ifndef _Q_GLOBAL_WRITER_DISPATCHER_HH_
2 #define _Q_GLOBAL_WRITER_DISPATCHER_HH_
43 std::map<std::string, QGlobalWriter*>
fWriters;
error class with error type and description
Class that returns a pointer to the writer matching the given input filename.
friend class Diana::QSequence
QGlobalWriter * GetWriter(const std::string &filename, QError &err)
get writer
std::string fCurrentWriterFilename
std::map< std::string, QGlobalWriter * > fWriters
static QGlobalWriterDispatcher & GetInstance()
QGlobalWriter * fLastWriter
~QGlobalWriterDispatcher()
void SetCurrentWriterFilename(const std::string &filename)
QGlobalWriterDispatcher()
Abstract class for global writers.
base class for anything that has a name
Diana Reconstruction program.
the Diana namespace is needed because sometimes we use Qt libraries, that use same class names of our...