ATLAS Offline Software
Loading...
Searching...
No Matches
Control/AthContainers/AthContainers/debug.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_DEBUG_H
14#define ATHCONTAINERS_DEBUG_H
15
16
20
21
22namespace SGdebug {
23
24
29std::string aux_var_name (SG::auxid_t id);
30
31
37
38
39/******************************************************************************
40 * Print the list of aux variables given some object.
41 */
42
43
48void print_aux_vars (const SG::auxid_set_t& auxids,
49 const SG::auxid_set_t& decors = SG::auxid_set_t());
50
51
56void print_aux_vars (const SG::IConstAuxStore& store);
57
58
63void print_aux_vars (const SG::IConstAuxStore* store);
64
65
71
72
78
79
84void print_aux_vars (const SG::AuxElement& elt);
85
86
91void print_aux_vars (const SG::AuxElement* elt);
92
93
94/******************************************************************************
95 * Dump out aux variables.
96 */
97
98
105std::string aux_var_as_string (SG::auxid_t auxid, const void* p, size_t i);
106
107
114void dump_aux_vars (std::ostream& os,
115 const SG::IConstAuxStore& store, size_t i);
116
117
123void dump_aux_vars (const SG::IConstAuxStore& store, size_t i);
124
125
131void dump_aux_vars (const SG::IConstAuxStore* store, size_t i);
132
133
138void dump_aux_vars (const SG::IConstAuxStore& store);
139
140
145void dump_aux_vars (const SG::IConstAuxStore* store);
146
147
153void dump_aux_vars (const SG::AuxVectorData& vec, size_t i);
154
155
161void dump_aux_vars (const SG::AuxVectorData* vec, size_t i);
162
163
169
170
176
177
182void dump_aux_vars (const SG::AuxElement& elt);
183
184
189void dump_aux_vars (const SG::AuxElement* elt);
190
191
192} // namespace SGdebug
193
194
195#endif // not ATHCONTAINERS_DEBUG_H
Base class for elements of a container that can have aux data.
Manage lookup of vectors of auxiliary data.
std::vector< size_t > vec
Interface for const operations on an auxiliary store.
Base class for elements of a container that can have aux data.
Definition AuxElement.h:483
Manage lookup of vectors of auxiliary data.
Interface for const operations on an auxiliary store.
A set of aux data identifiers.
Definition AuxTypes.h:47
size_t auxid_t
Identifier for a particular aux data item.
Definition AuxTypes.h:27
void print_aux_vars(const SG::auxid_set_t &auxids, const SG::auxid_set_t &decors=SG::auxid_set_t())
Print the list of aux variables in a set.
void dump_aux_vars(std::ostream &os, const SG::IConstAuxStore &store, size_t i)
Dump aux variables from a store for a single element.
std::string aux_var_name(SG::auxid_t id)
Return the name corresponding to a given aux id.
std::string aux_var_as_string(SG::auxid_t auxid, const void *p, size_t i)
Convert an aux variable to a string.
void print_aux_var_name(SG::auxid_t id)
Print the name corresponding to a given aux id.