SIO::SIOHandlerMgr Class Reference

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

#include <SIO/SIOHandlerMgr.h>

List of all members.

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.

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:
 All Classes Namespaces Functions Variables Typedefs Friends

Generated on 6 Mar 2020 for LCIO by  doxygen 1.6.1