00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00014 #ifndef RAWBLOCKPROXY_H
00015 #define RAWBLOCKPROXY_H
00016
00017 #ifndef IOSFWD
00018 #include <iosfwd>
00019 #define IOSFWD
00020 #endif
00021
00022
00023 #ifndef ROOT_Rtypes
00024 #if !defined(__CINT__) || defined(__MAKECINT__)
00025 #include "Rtypes.h"
00026 #endif
00027 #endif
00028
00029 class RawDataBlock;
00030
00031 class RawBlockProxy
00032 {
00033
00034 friend std::ostream& operator<<(std::ostream& os, const RawBlockProxy& rbp);
00035
00036 public:
00037 RawBlockProxy();
00038 virtual ~RawBlockProxy() { ; }
00039
00040 const Char_t *GetName() const { return fName; }
00041 const Bool_t IsDCS() const { return fIsDCS; }
00042 const Int_t GetMajorId() const { return fMajorId; }
00043
00044 virtual RawDataBlock *CreateRawDataBlock(const Int_t* block);
00045
00046 protected:
00047
00048 const char *fName;
00049 Bool_t fIsDCS;
00050 Int_t fMajorId;
00051
00052 };
00053
00054 #endif