ATLAS Offline Software
Loading...
Searching...
No Matches
CLASS_AUXSTORE.h File Reference
Include dependency graph for CLASS_AUXSTORE.h:

Go to the source code of this file.

Macros

#define CLASS_AUXSTORE(DOBJ)
 define which AUXSTORE and CONSTAUXSTORE to use for a DOBJ type.
#define CLASS_AUXSTORE3(DOBJ, AUXSTORE, CONSTAUXSTORE)

Macro Definition Documentation

◆ CLASS_AUXSTORE

#define CLASS_AUXSTORE ( DOBJ)
Value:
namespace SG { \
template <> struct AuxStore_traits< DOBJ > { \
typedef SG::IAuxStore type; \
typedef SG::IConstAuxStore const_type; \
static const std::string& typeName() { \
static const std::string s_name = "SG::IAuxStore";\
return s_name; \
} \
static const std::string& const_typeName() { \
static const std::string s_name = "SG::IConstAuxStore"; \
return s_name; \
} \
}; }
std::atomic< const char * > ClassID_traits< ViewVector< DV > >::s_name
Definition ViewVector.h:339
Interface for non-const operations on an auxiliary store.
Definition IAuxStore.h:48
Interface for const operations on an auxiliary store.
Forward declaration.

define which AUXSTORE and CONSTAUXSTORE to use for a DOBJ type.

CLASS_AUXSTORE specifies the default IAuxStore and IConstAuxStore interfaces CLASS_AUXSTORE3 allows to specify any AuxStore type.

Definition at line 29 of file CLASS_AUXSTORE.h.

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 }; }

◆ CLASS_AUXSTORE3

#define CLASS_AUXSTORE3 ( DOBJ,
AUXSTORE,
CONSTAUXSTORE )
Value:
namespace SG { \
template <> struct AuxStore_traits< DOBJ > { \
typedef AUXSTORE type; \
typedef CONSTAUXSTORE const_type; \
static const std::string& typeName() { \
static const std::string s_name = #AUXSTORE; \
return s_name; \
} \
static const std::string& const_typeName() { \
static const std::string s_name = #CONSTAUXSTORE; \
return s_name; \
} \
}; }

Definition at line 43 of file CLASS_AUXSTORE.h.

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 }; }