QGlobalWriterDispatcher Class Reference

List of all members.

Detailed Description

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

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


Public Member Functions

QGlobalWriterGetWriter (const std::string &filename)
 get writer

Static Public Member Functions

static QGlobalWriterDispatcherGetInstance ()

Private Member Functions

void Clear ()

Private Attributes

std::map< std::string, QGlobalWriter * > fWriters
QGlobalWriterfLastWriter

Friends

class QSequence


Member Function Documentation

QGlobalWriter * QGlobalWriterDispatcher::GetWriter ( const std::string &  filename  ) 

get writer

Returns:
Reference to the QGlobalWriter. NULL if no writer 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