BOSS 7.0.1
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/RawDataCnv/RawDataCnv/RawDataZddEventCnv.h
Go to the documentation of this file.
1#ifndef RAWDATA_ZDD_EVENT_CNV_H
2#define RAWDATA_ZDD_EVENT_CNV_H
3
4#include "RawDataCnvBase/RawDataBaseCnv.h"
5#include "RawDataCnv/ClassID_temp.h"
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);
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
50 ZddConverter* m_cnv;
51 friend class CnvFactory<RawDataZddEventCnv>;
52};
53
54#endif
RawDataZddEventCnv(ISvcLocator *svc)
virtual StatusCode createRep(DataObject *pObj, IOpaqueAddress *&pAddr)
Convert the transient object to the requested representation.
static const CLID & classID()
virtual StatusCode updateObj(IOpaqueAddress *, DataObject *)
override the RawDataBaseCnv version
virtual ~RawDataZddEventCnv()
StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&pObj)
StatusCode initialize()