QGlobalReaderDispatcher Class Reference

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

Static Public Member Functions

static QGlobalReaderDispatcherGetInstance ()

Private Member Functions

void Clear ()

Private Attributes

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

Friends

class QSequence


Member Function Documentation

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

get reader

Returns:
Reference to the QGlobalReader. NULL if no reader is available for the given file extension


The documentation for this class was generated from the following files:
Generated on Fri Mar 6 13:40:43 2009 for CUORE Software by  doxygen 1.5.1