| # Gaudi Framework, version v20r3
Generated: 24 Nov 2008

# HDirectoryCnv.h

Go to the documentation of this file.

    00001 // $Header: /local/reps/Gaudi/HbookCnv/src/HDirectoryCnv.h,v 1.4 2006/11/30 14:59:27 mato Exp $
    00002 #ifndef HBOOKCNV_HDIRECTORYCNV_H
    00003 #define HBOOKCNV_HDIRECTORYCNV_H 1
    00004
    00005 // Include files
    00006 #include "HConverter.h"
    00007
    00008 // Forward declarations
    00009 class     ISvcLocator;
    00010 template <class TYPE> class CnvFactory;
    00011
    00012
    00013 //------------------------------------------------------------------------------
    00014 //
    00015 // ClassName:   HbookCnv::HDirectoryCnv
    00016 //
    00017 // Description: Histogram directory converter
    00018 //
    00019 // Author:      M.Frank
    00020 //
    00021 //------------------------------------------------------------------------------
    00022
    00023
    00024 namespace HbookCnv {
    00025
    00030   class HDirectoryCnv : public HConverter {
    00031
    00032     friend class CnvFactory<HDirectoryCnv>;
    00033
    00034   public:
    00036     virtual StatusCode createObj( IOpaqueAddress* pAddress, DataObject*& refpObject );
    00037
    00039     virtual StatusCode fillObjRefs( IOpaqueAddress* pAddress, DataObject* refpObject );
    00040
    00042     virtual StatusCode createRep( DataObject* pObject, IOpaqueAddress*& refpAddress );
    00043
    00045     virtual StatusCode updateRep( IOpaqueAddress* pAddress, DataObject* pObject );
    00046
    00048     static const CLID& classID();
    00049
    00051     HDirectoryCnv( ISvcLocator* svc );
    00052
    00054     HDirectoryCnv( ISvcLocator* svc, const CLID& clid );
    00055
    00057     virtual ~HDirectoryCnv();
    00058   };
    00059
    00060 }    // namespace HbookCnv
    00061
    00062
    00063 #endif    // HBOOKCNV_HDIRECTORYCNV_H