| The Gaudi Framework v28r2p1 (f1a77ff4)

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

- File List
- File Members

DirectoryCnv.h
Go to the documentation of this file.
1 #ifndef ROOTHISTCNV_DIRECTORYCNV_H
2 #define ROOTHISTCNV_DIRECTORYCNV_H 1
3
4 // Include files
5 #include "GaudiKernel/DataObject.h"
6 #include "RConverter.h"
7
8 //------------------------------------------------------------------------------
9 //
10 // ClassName: RootHistCnv::DirectoryCnv
11 //
12 // Description: Histogram directory converter
13 //
14 // Author: Charles Leggett
15 //
16 //------------------------------------------------------------------------------
17 namespace RootHistCnv {
18 class DirectoryCnv : public RConverter {
19 public:
21 StatusCode createObj(IOpaqueAddress* pAddr, DataObject*& refpObj) override;
23 StatusCode createRep(DataObject* pObj, IOpaqueAddress*& refpAddr) override;
25 static const CLID& classID() { return CLID_DataObject; }
27 DirectoryCnv(ISvcLocator* svc) : RConverter(CLID_DataObject, svc) {}
29 DirectoryCnv(const CLID& clid, ISvcLocator* svc) : RConverter(clid, svc) {}
31 ~DirectoryCnv() override = default;
32 };
33 } // namespace RootHistCnv
34
35
36 #endif // ROOTHISTCNV_DIRECTORYCNV_H
RootHistCnv::RConverter
Root Converter.
Definition: RConverter.h:34
ISvcLocator
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition: ISvcLocator.h:25
RConverter.h
RootHistCnv::DirectoryCnv
Definition: DirectoryCnv.h:18
RootHistCnv::DirectoryCnv::createRep
StatusCode createRep(DataObject *pObj, IOpaqueAddress *&refpAddr) override
Convert the transient object to the requested representation.
Definition: DirectoryCnv.cpp:21
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:26
RootHistCnv
Definition: DirectoryCnv.h:17
CLID
unsigned int CLID
Class ID definition.
Definition: ClassID.h:8
RootHistCnv::DirectoryCnv::~DirectoryCnv
~DirectoryCnv() override=default
Standard destructor.
RootHistCnv::DirectoryCnv::classID
static const CLID & classID()
Inquire class type.
Definition: DirectoryCnv.h:25
RootHistCnv::DirectoryCnv::DirectoryCnv
DirectoryCnv(const CLID &clid, ISvcLocator *svc)
Standard constructor.
Definition: DirectoryCnv.h:29
RootHistCnv::DirectoryCnv::createObj
StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&refpObj) override
Create the transient representation of an object.
Definition: DirectoryCnv.cpp:12
IOpaqueAddress
Opaque address interface definition.
Definition: IOpaqueAddress.h:23
RootHistCnv::DirectoryCnv::DirectoryCnv
DirectoryCnv(ISvcLocator *svc)
Standard constructor.
Definition: DirectoryCnv.h:27
DataObject
A DataObject is the base class of any identifiable object on any data store.
Definition: DataObject.h:30
DataObject.h