BOSS 7.0.6
BESIII Offline Software System
Loading...
Searching...
No Matches
RawDataZddEventCnv.h
Go to the documentation of this file.
1#ifndef RAWDATA_ZDD_EVENT_CNV_H
2#define RAWDATA_ZDD_EVENT_CNV_H
3
6
7// Forward declarations.
9class ZddConverter;
10
11// Converter Factory to create instances of this class.
12template <class TYPE> class CnvFactory;
13
15{
16 protected :
17 // Standard Constructor.
18 RawDataZddEventCnv(ISvcLocator* svc);
19 virtual ~RawDataZddEventCnv();
20
21 public :
22
23 StatusCode initialize();
24
25 // Return the class type of this converter.
26 static const CLID& classID();
27
28 virtual long repSvcType() const {
30 }
31
32 static const unsigned char storageType() {
34 }
35
36 // Create a converted object in the Transient Data Store.
37 StatusCode createObj(IOpaqueAddress* pAddr, DataObject*& pObj);
38
39 /// override the RawDataBaseCnv version
40 virtual StatusCode updateObj(IOpaqueAddress*, DataObject*);
41
42 virtual StatusCode createRep(DataObject* pObj, IOpaqueAddress*& pAddr);
43
44 private:
45
46 IRawDataInputSvc* m_inputSvc;
47 /// Define the interface to raw data cnv
48 //IRawDataCnvSvc* m_RawDataAccess;
49
51 friend class CnvFactory<RawDataZddEventCnv>;
52};
53
54#endif
unsigned const long PACKEDRAWEVENT_StorageType
Definition: ClassID_temp.h:17
#define protected
static const CLID & classID()
virtual long repSvcType() const
static const unsigned char storageType()
StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj)
virtual StatusCode updateObj(IOpaqueAddress *, DataObject *)
override the RawDataBaseCnv version
virtual StatusCode createRep(DataObject *pObj, IOpaqueAddress *&pAddr)
Convert the transient object to the requested representation.