Diana Software
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
QGlobalReaderFactory Class Referenceabstract

abstract factory for QGlobalReader. More...

Public Member Functions

 QGlobalReaderFactory (const std::string &name, const std::string &ext)
 
const std::string & GetName () const
 
const std::string & GetExt () const
 
virtual ~QGlobalReaderFactory ()
 

Private Member Functions

virtual QGlobalReaderCreate ()=0
 

Private Attributes

std::string fName
 
std::string fExt
 

Friends

class QGlobalRWFactory
 

Detailed Description

abstract factory for QGlobalReader.

Author
Marco Vignati

Definition at line 115 of file QGlobalReader.hh.

Constructor & Destructor Documentation

◆ QGlobalReaderFactory()

QGlobalReaderFactory::QGlobalReaderFactory ( const std::string &  name,
const std::string &  ext 
)
inline

Definition at line 117 of file QGlobalReader.hh.

References fExt, and fName.

◆ ~QGlobalReaderFactory()

virtual QGlobalReaderFactory::~QGlobalReaderFactory ( )
inlinevirtual

Definition at line 120 of file QGlobalReader.hh.

Member Function Documentation

◆ Create()

virtual QGlobalReader* QGlobalReaderFactory::Create ( )
privatepure virtual

◆ GetExt()

const std::string& QGlobalReaderFactory::GetExt ( ) const
inline

Definition at line 119 of file QGlobalReader.hh.

References fExt.

◆ GetName()

const std::string& QGlobalReaderFactory::GetName ( ) const
inline

Definition at line 118 of file QGlobalReader.hh.

References fName.

Referenced by QGlobalRWFactory::RegisterGlobalReader().

Friends And Related Function Documentation

◆ QGlobalRWFactory

friend class QGlobalRWFactory
friend

Definition at line 125 of file QGlobalReader.hh.

Member Data Documentation

◆ fExt

std::string QGlobalReaderFactory::fExt
private

Definition at line 124 of file QGlobalReader.hh.

Referenced by GetExt(), and QGlobalReaderFactory().

◆ fName

std::string QGlobalReaderFactory::fName
private

Definition at line 123 of file QGlobalReader.hh.

Referenced by GetName(), and QGlobalReaderFactory().


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