Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

RFileCnv.h

Go to the documentation of this file.
00001 #ifndef ROOTHISTCNV_RFILECNV_H
00002 #define ROOTHISTCNV_RFILECNV_H 1
00003 
00004 
00005 // Include files
00006 #include "RDirectoryCnv.h"
00007 
00008 #include "TFile.h"
00009 
00010 // Forward declarations
00011 class     ISvcLocator;
00012 class     TFile;
00013 
00014 
00015 //====================================================================
00016 //  NTuple converter class definition
00017 //--------------------------------------------------------------------
00018 //
00019 //  Package    : ROOTHISTCNV
00020 //  Author     : Charles Leggett
00021 //
00022 //====================================================================
00023 
00024 
00025 namespace RootHistCnv {
00026 
00027   class RFileCnv : public RDirectoryCnv   {
00028 
00029     friend class CnvFactory<RFileCnv>;
00030 
00031   public:
00033     virtual StatusCode createObj  ( IOpaqueAddress* pAddress, DataObject*& refpObject );
00035     virtual StatusCode createRep( DataObject* pObject, IOpaqueAddress*& refpAddress );
00037     virtual StatusCode updateRep(IOpaqueAddress* pAddress, DataObject* pObject);
00039     static const CLID& classID()    {
00040       return CLID_NTupleFile;
00041     }
00042 
00043   protected:
00045     RFileCnv( ISvcLocator* svc ) : RDirectoryCnv(svc, CLID_NTupleFile)    {
00046     }
00048     virtual ~RFileCnv();
00049 
00050     TFile *rfile;
00051 
00052   };
00053 
00054 
00055 }    // namespace RootHistCnv
00056 
00057  
00058 #endif    // RootHistCnv_RFileCNV_H

Generated at Wed Nov 21 12:20:49 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000