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 
50 
56 
57 
63 
64 
70 
71 
77 
78 
83 void print_aux_vars (const SG::AuxElement& elt);
84 
85 
90 void print_aux_vars (const SG::AuxElement* elt);
91 
92 
93 /******************************************************************************
94  * Dump out aux variables.
95  */
96 
97 
104 std::string aux_var_as_string (SG::auxid_t auxid, const void* p, size_t i);
105 
106 
113 void dump_aux_vars (std::ostream& os,
114  const SG::IConstAuxStore& store, size_t i);
115 
116 
122 void dump_aux_vars (const SG::IConstAuxStore& store, size_t i);
123 
124 
130 void dump_aux_vars (const SG::IConstAuxStore* store, size_t i);
131 
132 
138 
139 
145 
146 
152 void dump_aux_vars (const SG::AuxVectorData& vec, size_t i);
153 
154 
160 void dump_aux_vars (const SG::AuxVectorData* vec, size_t i);
161 
162 
167 void dump_aux_vars (const SG::AuxVectorData& vec);
168 
169 
174 void dump_aux_vars (const SG::AuxVectorData* vec);
175 
176 
181 void dump_aux_vars (const SG::AuxElement& elt);
182 
183 
188 void dump_aux_vars (const SG::AuxElement* elt);
189 
190 
191 } // namespace SGdebug
192 
193 
194 #endif // not ATHCONTAINERS_DEBUG_H
store
StoreGateSvc * store
Definition: fbtTestBasics.cxx:71
SG::AuxElement
Base class for elements of a container that can have aux data.
Definition: AuxElement.h:472
SGdebug
Definition: Control/AthContainers/AthContainers/debug.h:22
vec
std::vector< size_t > vec
Definition: CombinationsGeneratorTest.cxx:12
SGdebug::print_aux_vars
void print_aux_vars(const SG::auxid_set_t &auxids)
Print the list of aux variables in a set.
Definition: Control/AthContainers/Root/debug.cxx:60
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:293
SG::auxid_set_t
A set of aux data identifiers.
Definition: AuxTypes.h:47
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:45
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:34
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:238
AuxElement.h
Base class for elements of a container that can have aux data.