LCIO  "2.7.4"
 All Classes Namespaces Functions Variables Typedefs Friends Pages
Public Member Functions | Static Public Member Functions | List of all members
SIO::SIOHandlerMgr Class Reference

Singleton that holds instances of all types of SIOObjectHandlers. More...

#include <SIO/SIOHandlerMgr.h>

Public Member Functions

SIOObjectHandlergetHandler (const std::string &type)
 Returns the instance of the handler for the given type - null if it doesn't exist.
 
bool registerHandler (const std::string &type, SIOObjectHandler *handler)
 Registers an instance of a handler for the given type. More...
 

Static Public Member Functions

static SIOHandlerMgrinstance ()
 Returns the instance of this class.
 

Detailed Description

Singleton that holds instances of all types of SIOObjectHandlers.

New types need to have their handler classes registered here.

Author
gaede
Version
Id:
SIOHandlerMgr.h,v 1.5 2005-04-15 08:37:42 gaede Exp

Member Function Documentation

bool SIO::SIOHandlerMgr::registerHandler ( const std::string &  type,
SIOObjectHandler handler 
)

Registers an instance of a handler for the given type.

Fails if type name allready exists.


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