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-2026 CERN for the benefit of the ATLAS collaboration
4*/
11
12
13#ifndef ATHCONTAINERS_DEBUG_H
14#define ATHCONTAINERS_DEBUG_H
15
16
20#include <iosfwd>
21
22
23namespace SGdebug {
24
25
30std::string aux_var_name (SG::auxid_t id);
31
32
38
39
40/******************************************************************************
41 * Print the list of aux variables given some object.
42 */
43
44
51void print_aux_vars (const SG::auxid_set_t& auxids,
52 const SG::auxid_set_t& decors,
53 std::ostream& os);
54
55
60void print_aux_vars (const SG::auxid_set_t& auxids);
61
62
68void print_aux_vars (const SG::IConstAuxStore& store, std::ostream& os);
69
70
75void print_aux_vars (const SG::IConstAuxStore& store);
76
77
82void print_aux_vars (const SG::IConstAuxStore* store);
83
84
90void print_aux_vars (const SG::AuxVectorData& vec, std::ostream& os);
91
92
98
99
105
106
111void print_aux_vars (const SG::AuxElement& elt);
112
113
118void print_aux_vars (const SG::AuxElement* elt);
119
120
121/******************************************************************************
122 * Dump out aux variables.
123 */
124
125
132std::string aux_var_as_string (SG::auxid_t auxid, const void* p, size_t i);
133
134
141void dump_aux_vars (std::ostream& os,
142 const SG::IConstAuxStore& store, size_t i);
143
144
150void dump_aux_vars (const SG::IConstAuxStore& store, size_t i);
151
152
158void dump_aux_vars (const SG::IConstAuxStore* store, size_t i);
159
160
165void dump_aux_vars (const SG::IConstAuxStore& store);
166
167
172void dump_aux_vars (const SG::IConstAuxStore* store);
173
174
180void dump_aux_vars (const SG::AuxVectorData& vec, size_t i);
181
182
188void dump_aux_vars (const SG::AuxVectorData* vec, size_t i);
189
190
196
197
203
204
209void dump_aux_vars (const SG::AuxElement& elt);
210
211
216void dump_aux_vars (const SG::AuxElement* elt);
217
218
219} // namespace SGdebug
220
221
222#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:484
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 dump_aux_vars(std::ostream &os, const SG::IConstAuxStore &store, size_t i)
Dump aux variables from a store for a single element.
void print_aux_vars(const SG::auxid_set_t &auxids, const SG::auxid_set_t &decors, std::ostream &os)
Print the list of aux variables in a set.
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.