QGlobalReaderDispatcher Class Reference

Inheritance diagram for QGlobalReaderDispatcher:

List of all members.


Detailed Description

Class that returns a pointer to the reader matching the given input filename.

Author:
Marco Vignati the GetReader methods ask to the QGeneralFactory for all the QGlobalReader registered
then return a pointer to the reader matching the extension of the given input filename.
If such a reader has previously been created it just returns a reference to it, otherwise
this class will take care of creating the right QGlobalReader and try to open the new input file.

Public Member Functions

QGlobalReaderGetReader (const std::string &filename)
 get reader
void SetCurrentReaderFilename (const std::string &filename)

Static Public Member Functions

static QGlobalReaderDispatcherGetInstance ()

Private Member Functions

void Clear ()

Private Attributes

std::map< std::string,
QGlobalReader * > 
fReaders
QGlobalReaderfLastReader
std::string fCurrentReaderFilename

Friends

class QSequence

Member Function Documentation

QGlobalReader * QGlobalReaderDispatcher::GetReader ( const std::string &  filename  ) 


The documentation for this class was generated from the following files:

Generated on Tue Nov 16 10:50:06 2010 for CUORE Software by  doxygen 1.5.6