| The Gaudi Framework v28r2p1 (f1a77ff4)

- 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
16 class RDirectoryCnv : public RConverter {
17 public:
19 StatusCode createObj(IOpaqueAddress* pAddr, DataObject*& refpObj) override;
21 StatusCode fillObjRefs(IOpaqueAddress* pAddr, DataObject* refpObj) override;
23 StatusCode createRep( DataObject* pObj, IOpaqueAddress*& refpAddr) override;
25 StatusCode updateRep( IOpaqueAddress* pAddr, DataObject* pObject ) override;
27 static const CLID& classID() { return CLID_NTupleDirectory; }
29 RDirectoryCnv(ISvcLocator* svc) : RConverter(CLID_NTupleDirectory, svc) {}
31 RDirectoryCnv(ISvcLocator* svc,const CLID& clid) : RConverter(clid, svc){}
33 ~RDirectoryCnv() override = default;
34 };
35 } // namespace RootHistCnv
36
37 #endif // RootHistCnv_RDirectORYCNV_H
RootHistCnv::RDirectoryCnv::RDirectoryCnv
RDirectoryCnv(ISvcLocator *svc, const CLID &clid)
Standard constructor.
Definition: RDirectoryCnv.h:31
RootHistCnv::RConverter
Root Converter.
Definition: RConverter.h:34
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:49
RConverter.h
RootHistCnv::RDirectoryCnv::createObj
StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&refpObj) override
Create the transient representation of an object.
Definition: RDirectoryCnv.cpp:39
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:26
RootHistCnv::RDirectoryCnv
Create persistent and transient representations of data store directories.
Definition: RDirectoryCnv.h:16
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:81
RootHistCnv::RDirectoryCnv::updateRep
StatusCode updateRep(IOpaqueAddress *pAddr, DataObject *pObject) override
Convert the transient object to the requested representation.
Definition: RDirectoryCnv.cpp:66
IOpaqueAddress
Opaque address interface definition.
Definition: IOpaqueAddress.h:23
RootHistCnv::RDirectoryCnv::RDirectoryCnv
RDirectoryCnv(ISvcLocator *svc)
Standard constructor.
Definition: RDirectoryCnv.h:29
DataObject
A DataObject is the base class of any identifiable object on any data store.
Definition: DataObject.h:30
RootHistCnv::RDirectoryCnv::classID
static const CLID & classID()
Inquire class type.
Definition: RDirectoryCnv.h:27