 |
ATLAS Offline Software
|
Loading...
Searching...
No Matches
Go to the documentation of this file.
5#ifndef XAODTRACKING_AUXACCESSORMACRO_H
6#define XAODTRACKING_AUXACCESSORMACRO_H
21#define DEFINE_API(__CL, __TYPE, __GETTER, __SETTER) \
22 AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(__CL, __TYPE, __GETTER, \
24 __TYPE* __CL::__GETTER##Ptr() { \
25 static const SG::AuxElement::Accessor<__TYPE> acc(#__GETTER); \
26 return &(acc(*this)); \
28 const __TYPE* __CL::__GETTER##Ptr() const { \
29 static const SG::AuxElement::ConstAccessor<__TYPE> acc(#__GETTER); \
30 return &(acc(*this)); \