The Gaudi Framework  v30r3 (a5ef0a68)
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 {
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 ) {}
32  };
33 } // namespace RootHistCnv
34 
35 #endif // ROOTHISTCNV_DIRECTORYCNV_H
Root Converter.
Definition: RConverter.h:33
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:51
unsigned int CLID
Class ID definition.
Definition: ClassID.h:8
static const CLID & classID()
Inquire class type.
Definition: DirectoryCnv.h:27
DirectoryCnv(const CLID &clid, ISvcLocator *svc)
Standard constructor.
Definition: DirectoryCnv.h:31
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:29
A DataObject is the base class of any identifiable object on any data store.
Definition: DataObject.h:30