Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  v31r0 (aeb156f0)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
DirectoryCnv.h
Go to the documentation of this file.
1 #ifndef ROOTHISTCNV_DIRECTORYCNV_H
2 #define ROOTHISTCNV_DIRECTORYCNV_H 1
3 
4 // Include files
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 ) {}
30  };
31 } // namespace RootHistCnv
32 
33 #endif // ROOTHISTCNV_DIRECTORYCNV_H
Root Converter.
Definition: RConverter.h:31
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition: ISvcLocator.h:25
StatusCode createRep(DataObject *pObj, IOpaqueAddress *&refpAddr) override
Convert the transient object to the requested representation.
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:50
unsigned int CLID
Class ID definition.
Definition: ClassID.h:8
static const CLID & classID()
Inquire class type.
Definition: DirectoryCnv.h:25
DirectoryCnv(const CLID &clid, ISvcLocator *svc)
Standard constructor.
Definition: DirectoryCnv.h:29
StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&refpObj) override
Create the transient representation of an object.
Opaque address interface definition.
DirectoryCnv(ISvcLocator *svc)
Standard constructor.
Definition: DirectoryCnv.h:27
A DataObject is the base class of any identifiable object on any data store.
Definition: DataObject.h:30