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