| The Gaudi Framework v30r0 (c919700c)

- 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 {
19 class DirectoryCnv : public RConverter
20 {
21 public:
23 StatusCode createObj( IOpaqueAddress* pAddr, DataObject*& refpObj ) override;
25 StatusCode createRep( DataObject* pObj, IOpaqueAddress*& refpAddr ) override;
27 static const CLID& classID() { return CLID_DataObject; }
29 DirectoryCnv( ISvcLocator* svc ) : RConverter( CLID_DataObject, svc ) {}
31 DirectoryCnv( const CLID& clid, ISvcLocator* svc ) : RConverter( clid, svc ) {}
33 ~DirectoryCnv() override = default;
34 };
35 } // namespace RootHistCnv
36
37 #endif // ROOTHISTCNV_DIRECTORYCNV_H
RootHistCnv::RConverter
Root Converter.
Definition: RConverter.h:33
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:19
RootHistCnv::DirectoryCnv::createRep
StatusCode createRep(DataObject *pObj, IOpaqueAddress *&refpAddr) override
Convert the transient object to the requested representation.
Definition: DirectoryCnv.cpp:19
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:27
RootHistCnv::DirectoryCnv::DirectoryCnv
DirectoryCnv(const CLID &clid, ISvcLocator *svc)
Standard constructor.
Definition: DirectoryCnv.h:31
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:29
DataObject
A DataObject is the base class of any identifiable object on any data store.
Definition: DataObject.h:30
DataObject.h