LCIO  02.17
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | Static Private Attributes | List of all members
IOIMPL::LCFactory Class Reference

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

#include <LCFactory.h>

+ Inheritance diagram for IOIMPL::LCFactory:

Public Member Functions

 LCFactory ()
 
virtual ~LCFactory ()
 Destructor. More...
 
virtual IO::LCWritercreateLCWriter ()
 Creates an LCWriter object for the current persistency type. More...
 
virtual IO::LCReadercreateLCReader (int lcReaderFlag=0)
 Creates an LCReader object for the current persistency type. More...
 
- Public Member Functions inherited from IO::ILCFactory
virtual ~ILCFactory ()
 Destructor. More...
 

Static Public Member Functions

static LCFactorygetInstance ()
 Returns the instance of the factory. More...
 

Static Private Attributes

static LCFactory_me = 0
 

Detailed Description

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

SIO. Singleton class that knows all concrete reader/writer implementations.

Author
gaede
Version
Mar 10, 2003

Definition at line 19 of file LCFactory.h.

Constructor & Destructor Documentation

IOIMPL::LCFactory::LCFactory ( )

Definition at line 21 of file LCFactory.cc.

IOIMPL::LCFactory::~LCFactory ( )
virtual

Destructor.

Definition at line 32 of file LCFactory.cc.

Member Function Documentation

LCReader * IOIMPL::LCFactory::createLCReader ( int  lcReaderFlag = 0)
virtual

Creates an LCReader object for the current persistency type.

lcReaderFlag: configuration options for the LCReader object - combine multible options with '|'. So far only LCReader::directAccess.

Implements IO::ILCFactory.

Definition at line 45 of file LCFactory.cc.

Referenced by lcrdrcreate().

LCWriter * IOIMPL::LCFactory::createLCWriter ( )
virtual

Creates an LCWriter object for the current persistency type.

Implements IO::ILCFactory.

Definition at line 36 of file LCFactory.cc.

References SIO::SIOWriter::setCompressionLevel().

LCFactory * IOIMPL::LCFactory::getInstance ( )
static

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 ...

Definition at line 25 of file LCFactory.cc.

Referenced by lcrdrcreate().

Member Data Documentation

LCFactory * IOIMPL::LCFactory::_me = 0
staticprivate

Definition at line 48 of file LCFactory.h.


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