ATLAS Offline Software
Loading...
Searching...
No Matches
AthContainersAccessorsDict.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 * Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration.
4 */
11
12
13#ifndef ATHCONTAINERS_ATHCONTAINERSACCESSORDICT_H
14#define ATHCONTAINERS_ATHCONTAINERSACCESSORDICT_H
15
16
22#include <string>
23#include <vector>
24
25
26#define ARGS1 (const std::string&)
27#define ARGS2 (const std::string&, const std::string&)
28#define INSTAN_TYPE(TYP) \
29 template class SG::ConstAccessor<TYP>; \
30 template class SG::Accessor<TYP>; \
31 template class SG::Decorator<TYP>; \
32 template TYP& SG::AuxElement::auxdata<TYP> ARGS1; \
33 template TYP& SG::AuxElement::auxdata<TYP> ARGS2; \
34 template const TYP& SG::ConstAuxElement::auxdata<TYP> ARGS1 const; \
35 template const TYP& SG::ConstAuxElement::auxdata<TYP> ARGS2 const; \
36 template const TYP& SG::ConstAuxElement::auxdataConst<TYP> ARGS1 const; \
37 template const TYP& SG::ConstAuxElement::auxdataConst<TYP> ARGS2 const; \
38 template TYP& SG::ConstAuxElement::auxdecor<TYP> ARGS1 const; \
39 template TYP& SG::ConstAuxElement::auxdecor<TYP> ARGS2 const;
40
42INSTAN_TYPE(unsigned char);
46INSTAN_TYPE(unsigned int);
47INSTAN_TYPE(unsigned short);
48INSTAN_TYPE(unsigned long);
49INSTAN_TYPE(unsigned long long);
53INSTAN_TYPE(std::string);
54
55INSTAN_TYPE(std::vector<char>);
56INSTAN_TYPE(std::vector<unsigned char>);
57INSTAN_TYPE(std::vector<int>);
58INSTAN_TYPE(std::vector<short>);
59INSTAN_TYPE(std::vector<long>);
60INSTAN_TYPE(std::vector<unsigned int>);
61INSTAN_TYPE(std::vector<unsigned short>);
62INSTAN_TYPE(std::vector<unsigned long>);
63INSTAN_TYPE(std::vector<unsigned long long>);
64INSTAN_TYPE(std::vector<float>);
65INSTAN_TYPE(std::vector<double>);
66INSTAN_TYPE(std::vector<bool>);
67INSTAN_TYPE(std::vector<std::string>);
68
70
71
72#undef ARGS1
73#undef ARGS2
74#undef INSTAN_TYPE
75
76
77#endif // not ATHCONTAINERS_ATHCONTAINERSACCESSORDICT_H
#define INSTAN_TYPE(TYP)
Access an auxiliary variable atomically.
Base class for elements of a container that can have aux data.
Helper class to provide constant type-safe access to aux data.
Helper class to provide type-safe access to aux data.
Helper class to provide type-safe access to aux data.
Access an auxiliary variable atomically.