ATLAS Offline Software
Loading...
Searching...
No Matches
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 $
14
15#ifndef ATHCONTAINERSINTERFACES_CLASS_AUXSTORE
16#define ATHCONTAINERSINTERFACES_CLASS_AUXSTORE 1
17
18
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
Associate AuxStore classes with EDM container classes.
Interface for non-const operations on an auxiliary store.
Interface for const operations on an auxiliary store.