LCIO  02.17
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
IO::ILCFactory Class Referenceabstract

Factory to create LCWriter and Reader object for the known data formats, e.g. More...

#include <ILCFactory.h>

+ Inheritance diagram for IO::ILCFactory:

Public Member Functions

virtual ~ILCFactory ()
 Destructor. More...
 
virtual LCWritercreateLCWriter ()=0
 Returns the instance of the factory. More...
 
virtual LCReadercreateLCReader (int readerFlag=0)=0
 Creates an LCReader object for the current persistency type. More...
 

Detailed Description

Factory to create LCWriter and Reader object for the known data formats, e.g.

SIO. The implementation (LCFactory) will be a singleton class that knows all concrete reader/writer implementations.

Author
gaede
Version
Mar 7, 2003

Definition at line 22 of file ILCFactory.h.

Constructor & Destructor Documentation

virtual IO::ILCFactory::~ILCFactory ( )
inlinevirtual

Destructor.

Definition at line 26 of file ILCFactory.h.

Member Function Documentation

virtual LCReader* IO::ILCFactory::createLCReader ( int  readerFlag = 0)
pure virtual

Creates an LCReader object for the current persistency type.

Implemented in IOIMPL::LCFactory.

virtual LCWriter* IO::ILCFactory::createLCWriter ( )
pure virtual

Returns the instance of the factory.

In the future we need to specify the data format here... This doesn't work for java as an interface can't have static members ...Creates an LCWriter object for the current persistency type.

Implemented in IOIMPL::LCFactory.


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