The Gaudi Framework
master (37c0b60a)
DirectoryCnv.h
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2024 CERN for the benefit of the LHCb and ATLAS collaborations *
3
* *
4
* This software is distributed under the terms of the Apache version 2 licence, *
5
* copied verbatim in the file "LICENSE". *
6
* *
7
* In applying this licence, CERN does not waive the privileges and immunities *
8
* granted to it by virtue of its status as an Intergovernmental Organization *
9
* or submit itself to any jurisdiction. *
10
\***********************************************************************************/
11
#ifndef ROOTHISTCNV_DIRECTORYCNV_H
12
#define ROOTHISTCNV_DIRECTORYCNV_H 1
13
14
// Include files
15
#include "
RConverter.h
"
16
#include <
GaudiKernel/DataObject.h
>
17
18
//------------------------------------------------------------------------------
19
//
20
// ClassName: RootHistCnv::DirectoryCnv
21
//
22
// Description: Histogram directory converter
23
//
24
// Author: Charles Leggett
25
//
26
//------------------------------------------------------------------------------
27
namespace
RootHistCnv
{
28
class
DirectoryCnv
:
public
RConverter
{
29
public
:
31
StatusCode
createObj
(
IOpaqueAddress
* pAddr,
DataObject
*& refpObj )
override
;
33
StatusCode
createRep
(
DataObject
* pObj,
IOpaqueAddress
*& refpAddr )
override
;
35
static
const
CLID
&
classID
() {
return
CLID_DataObject; }
37
DirectoryCnv
(
ISvcLocator
* svc ) :
RConverter
( CLID_DataObject, svc ) {}
39
DirectoryCnv
(
const
CLID
& clid,
ISvcLocator
* svc ) :
RConverter
( clid, svc ) {}
40
};
41
}
// namespace RootHistCnv
42
43
#endif // ROOTHISTCNV_DIRECTORYCNV_H
RConverter.h
IOpaqueAddress
Definition:
IOpaqueAddress.h:33
ISvcLocator
Definition:
ISvcLocator.h:46
RootHistCnv::DirectoryCnv
Definition:
DirectoryCnv.h:28
RootHistCnv
Definition:
DirectoryCnv.h:27
StatusCode
Definition:
StatusCode.h:65
RootHistCnv::RConverter
Definition:
RConverter.h:41
CLID
unsigned int CLID
Class ID definition.
Definition:
ClassID.h:18
DataObject.h
RootHistCnv::DirectoryCnv::createObj
StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&refpObj) override
Create the transient representation of an object.
Definition:
DirectoryCnv.cpp:22
RootHistCnv::DirectoryCnv::classID
static const CLID & classID()
Inquire class type.
Definition:
DirectoryCnv.h:35
DataObject
Definition:
DataObject.h:36
RootHistCnv::DirectoryCnv::DirectoryCnv
DirectoryCnv(const CLID &clid, ISvcLocator *svc)
Standard constructor.
Definition:
DirectoryCnv.h:39
RootHistCnv::DirectoryCnv::DirectoryCnv
DirectoryCnv(ISvcLocator *svc)
Standard constructor.
Definition:
DirectoryCnv.h:37
RootHistCnv::DirectoryCnv::createRep
StatusCode createRep(DataObject *pObj, IOpaqueAddress *&refpAddr) override
Convert the transient object to the requested representation.
Definition:
DirectoryCnv.cpp:28
RootHistCnv
src
DirectoryCnv.h
Generated on Thu Dec 19 2024 15:35:08 for The Gaudi Framework by
1.8.18