| # Gaudi Framework, version v21r10p1 |

Home |  | Generated: 29 Jul 2010

# DirectoryCnv.h

Go to the documentation of this file.

    00001 #ifndef ROOTHISTCNV_DIRECTORYCNV_H
    00002 #define ROOTHISTCNV_DIRECTORYCNV_H 1
    00003
    00004 // Include files
    00005 #include "GaudiKernel/DataObject.h"
    00006 #include "RConverter.h"
    00007
    00008 //------------------------------------------------------------------------------
    00009 //
    00010 // ClassName:   RootHistCnv::DirectoryCnv
    00011 //
    00012 // Description: Histogram directory converter
    00013 //
    00014 // Author:      Charles Leggett
    00015 //
    00016 //------------------------------------------------------------------------------
    00017 namespace RootHistCnv {
    00018   class DirectoryCnv : public RConverter {
    00019   public:
    00021     virtual StatusCode createObj(IOpaqueAddress* pAddr, DataObject*& refpObj);
    00023     virtual StatusCode createRep(DataObject* pObj, IOpaqueAddress*& refpAddr);
    00025     static const CLID& classID()      {  return CLID_DataObject;    }
    00027     DirectoryCnv(ISvcLocator* svc) : RConverter(CLID_DataObject, svc) {}
    00029     DirectoryCnv(const CLID& clid, ISvcLocator* svc) : RConverter(clid, svc) {}
    00031     virtual ~DirectoryCnv()   {}
    00032   };
    00033 }    // namespace RootHistCnv
    00034
    00035
    00036 #endif    // ROOTHISTCNV_DIRECTORYCNV_H