ATLAS Offline Software
Macros
CLASS_AUXSTORE.h File Reference
#include "AthContainersInterfaces/AuxStore_traits.h"
#include "AthContainersInterfaces/IAuxStore.h"
#include "AthContainersInterfaces/IConstAuxStore.h"
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. More...
 
#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; \
} \
}; }

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 30 of file CLASS_AUXSTORE.h.

◆ 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 44 of file CLASS_AUXSTORE.h.

SG
Forward declaration.
Definition: CaloCellPacker_400_500.h:32
SG::IAuxStore
Interface for non-const operations on an auxiliary store.
Definition: IAuxStore.h:48
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
ReadCalibFromCool.typeName
typeName
Definition: ReadCalibFromCool.py:477
SG::IConstAuxStore
Interface for const operations on an auxiliary store.
Definition: IConstAuxStore.h:64