| The Gaudi Framework v29r0 (ff2e7097)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

RDirectoryCnv.h
Go to the documentation of this file.
1 #ifndef ROOTHIST_RDIRECTORYCNV_H
2 #define ROOTHIST_RDIRECTORYCNV_H 1
3
4 // Include files
5 #include "GaudiKernel/NTuple.h"
6 #include "RConverter.h"
7
8 namespace RootHistCnv
9 {
10
17 class RDirectoryCnv : public RConverter
18 {
19 public:
21 StatusCode createObj( IOpaqueAddress* pAddr, DataObject*& refpObj ) override;
23 StatusCode fillObjRefs( IOpaqueAddress* pAddr, DataObject* refpObj ) override;
25 StatusCode createRep( DataObject* pObj, IOpaqueAddress*& refpAddr ) override;
27 StatusCode updateRep( IOpaqueAddress* pAddr, DataObject* pObject ) override;
29 static const CLID& classID() { return CLID_NTupleDirectory; }
31 RDirectoryCnv( ISvcLocator* svc ) : RConverter( CLID_NTupleDirectory, svc ) {}
33 RDirectoryCnv( ISvcLocator* svc, const CLID& clid ) : RConverter( clid, svc ) {}
35 ~RDirectoryCnv() override = default;
36 };
37 } // namespace RootHistCnv
38
39 #endif // RootHistCnv_RDirectORYCNV_H
RootHistCnv::RDirectoryCnv::RDirectoryCnv
RDirectoryCnv(ISvcLocator *svc, const CLID &clid)
Standard constructor.
Definition: RDirectoryCnv.h:33
RootHistCnv::RConverter
Root Converter.
Definition: RConverter.h:33
RootHistCnv::RDirectoryCnv::~RDirectoryCnv
~RDirectoryCnv() override=default
Standard destructor.
ISvcLocator
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition: ISvcLocator.h:25
NTuple.h
RootHistCnv::RDirectoryCnv::createRep
StatusCode createRep(DataObject *pObj, IOpaqueAddress *&refpAddr) override
Convert the transient object to the requested representation.
Definition: RDirectoryCnv.cpp:48
RConverter.h
RootHistCnv::RDirectoryCnv::createObj
StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&refpObj) override
Create the transient representation of an object.
Definition: RDirectoryCnv.cpp:40
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:28
RootHistCnv::RDirectoryCnv
Create persistent and transient representations of data store directories.
Definition: RDirectoryCnv.h:17
RootHistCnv
Definition: DirectoryCnv.h:17
CLID
unsigned int CLID
Class ID definition.
Definition: ClassID.h:8
RootHistCnv::RDirectoryCnv::fillObjRefs
StatusCode fillObjRefs(IOpaqueAddress *pAddr, DataObject *refpObj) override
Update the transient object from the other representation.
Definition: RDirectoryCnv.cpp:75
RootHistCnv::RDirectoryCnv::updateRep
StatusCode updateRep(IOpaqueAddress *pAddr, DataObject *pObject) override
Convert the transient object to the requested representation.
Definition: RDirectoryCnv.cpp:63
IOpaqueAddress
Opaque address interface definition.
Definition: IOpaqueAddress.h:23
RootHistCnv::RDirectoryCnv::RDirectoryCnv
RDirectoryCnv(ISvcLocator *svc)
Standard constructor.
Definition: RDirectoryCnv.h:31
DataObject
A DataObject is the base class of any identifiable object on any data store.
Definition: DataObject.h:29
RootHistCnv::RDirectoryCnv::classID
static const CLID & classID()
Inquire class type.
Definition: RDirectoryCnv.h:29