| # Gaudi Framework, version v20r2
Generated: 18 Jul 2008

- Main Page
- Namespaces
- Classes
- Files
- Directories
- Related Pages

- Search for |

- File List
- File Members

# PoolDbIOHandler.h

Go to the documentation of this file.

    00001 // $Id: PoolDbIOHandler.h,v 1.4 2008/05/05 19:48:14 marcocle Exp $
    00002 //====================================================================
    00003 //      PoolDbIOHandler.h
    00004 //--------------------------------------------------------------------
    00005 //
    00006 //      Author     : M.Frank
    00007 //====================================================================
    00008 // $Header: /local/reps/Gaudi/GaudiPoolDb/GaudiPoolDb/PoolDbIOHandler.h,v 1.4 2008/05/05 19:48:14 marcocle Exp $
    00009 #ifndef POOLDB_POOLDBIOHANDLER_H
    00010 #define POOLDB_POOLDBIOHANDLER_H
    00011 #include "TClassStreamer.h"
    00012 #include "Reflex/Reflex.h"
    00013
    00014 template <class T> class PoolDbIOHandler : public TClassStreamer {
    00015 protected:
    00016   typedef ROOT::Reflex::Type TypeH;
    00018   TypeH     m_type;
    00020   TClass*   m_root;
    00021 public:
    00023   PoolDbIOHandler(const TypeH& typ, TClass* c) : m_type(typ), m_root(c) {  }
    00024
    00026   virtual ~PoolDbIOHandler() {  }
    00027
    00029   virtual void operator()(TBuffer &b, void *obj);
    00030
    00032
    00034   virtual void get(TBuffer &b, void* obj);
    00035
    00037
    00039   virtual void put(TBuffer &b, void* obj);
    00040 };
    00041
    00042 #endif // POOLDB_POOLDBIOHANDLER_H