ATLAS Offline Software
Control
AthContainersInterfaces
AthContainersInterfaces
CLASS_AUXSTORE.h
Go to the documentation of this file.
1
// This file's extension implies that it's C, but it's really -*- C++ -*-.
2
3
/*
4
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// $Id: CLASS_AUXSTORE.h 568070 2013-10-31 11:07:18Z krasznaa $
15
#ifndef ATHCONTAINERSINTERFACES_CLASS_AUXSTORE
16
#define ATHCONTAINERSINTERFACES_CLASS_AUXSTORE 1
17
18
24
#include "
AthContainersInterfaces/AuxStore_traits.h
"
25
#include "
AthContainersInterfaces/IAuxStore.h
"
26
#include "
AthContainersInterfaces/IConstAuxStore.h
"
27
28
29
#define CLASS_AUXSTORE(DOBJ) \
30
namespace SG { \
31
template <> struct AuxStore_traits< DOBJ > { \
32
typedef SG::IAuxStore type; \
33
typedef SG::IConstAuxStore const_type; \
34
static const std::string& typeName() { \
35
static const std::string s_name = "SG::IAuxStore";\
36
return s_name; \
37
} \
38
static const std::string& const_typeName() { \
39
static const std::string s_name = "SG::IConstAuxStore"; \
40
return s_name; \
41
} \
42
}; }
43
#define CLASS_AUXSTORE3(DOBJ, AUXSTORE, CONSTAUXSTORE) \
44
namespace SG { \
45
template <> struct AuxStore_traits< DOBJ > { \
46
typedef AUXSTORE type; \
47
typedef CONSTAUXSTORE const_type; \
48
static const std::string& typeName() { \
49
static const std::string s_name = #AUXSTORE; \
50
return s_name; \
51
} \
52
static const std::string& const_typeName() { \
53
static const std::string s_name = #CONSTAUXSTORE; \
54
return s_name; \
55
} \
56
}; }
57
58
59
#endif // not ATHCONTAINERSINTERFACES_CLASS_AUXSTORE
AuxStore_traits.h
Associate AuxStore classes with EDM container classes.
IAuxStore.h
Interface for non-const operations on an auxiliary store.
IConstAuxStore.h
Interface for const operations on an auxiliary store.
Generated on Thu Jan 2 2025 21:08:12 for ATLAS Offline Software by
1.8.18