#include <RawDataCnv.hpp>
Definition at line 11 of file RawDataCnv.hpp.
◆ RawDataCnv()
| RawDataCnv::RawDataCnv |
( |
ISvcLocator * | svc | ) |
|
|
inline |
Definition at line 13 of file RawDataCnv.hpp.
const long PACKEDRAWEVENT_StorageType
RawDataBaseCnv(long storageType, const CLID &clid, ISvcLocator *svc)
static const CLID & classID()
◆ classID()
| const CLID & RawDataCnv::classID |
( |
| ) |
|
|
inlinestatic |
◆ createObj()
| StatusCode RawDataCnv::createObj |
( |
IOpaqueAddress * | pAddr, |
|
|
DataObject *& | pObj ) |
|
inline |
Definition at line 19 of file RawDataCnv.hpp.
19 {
20 RawDataAddress* pEFAddr;
21 const RAWEVENT* evt;
22
23 Event::EventH* evh = new Event::EventH();
24
25 pObj = evh;
26 if ( ( pEFAddr = dynamic_cast<RawDataAddress*>( pAddr ) ) )
27 {
29 if ( !evt ) return StatusCode::FAILURE;
30 return StatusCode::SUCCESS;
31 }
32 else return StatusCode::FAILURE;
33 }
IRawDataInputSvc * m_inputSvc
◆ createRep()
| StatusCode RawDataCnv::createRep |
( |
DataObject * | pObj, |
|
|
IOpaqueAddress *& | pAddr ) |
|
inline |
Definition at line 35 of file RawDataCnv.hpp.
35 {
36 MsgStream log(
msgSvc(),
"RawDataCnv" );
37 log << MSG::DEBUG << "RawDataCnv::createRep()" << endmsg;
38
39 Event::EventH* evh = dynamic_cast<Event::EventH*>( pObj );
40 if ( !evh )
41 {
42 log << MSG::ERROR << "Could not downcast Event" << endmsg;
43 return StatusCode::FAILURE;
44 }
45
46
47 return StatusCode::SUCCESS;
48 }
The documentation for this class was generated from the following file: