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 /*
4  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // $Id$
16 #ifndef ATHCONTAINERS_DEBUG_H
17 #define ATHCONTAINERS_DEBUG_H
18 
19 
23 
24 
25 namespace SGdebug {
26 
27 
32 std::string aux_var_name (SG::auxid_t id);
33 
34 
40 
41 
42 /******************************************************************************
43  * Print the list of aux variables given some object.
44  */
45 
46 
51 void print_aux_vars (const SG::auxid_set_t& auxids);
52 
53 
59 
60 
66 
67 
73 
74 
80 
81 
86 void print_aux_vars (const SG::AuxElement& elt);
87 
88 
93 void print_aux_vars (const SG::AuxElement* elt);
94 
95 
96 /******************************************************************************
97  * Dump out aux variables.
98  */
99 
100 
106 std::string aux_var_as_string (SG::auxid_t auxid, const void* p);
107 
108 
114 void dump_aux_vars (const SG::IConstAuxStore& store, size_t i);
115 
116 
122 void dump_aux_vars (const SG::IConstAuxStore* store, size_t i);
123 
124 
130 
131 
137 
138 
144 void dump_aux_vars (const SG::AuxVectorData& vec, size_t i);
145 
146 
152 void dump_aux_vars (const SG::AuxVectorData* vec, size_t i);
153 
154 
159 void dump_aux_vars (const SG::AuxVectorData& vec);
160 
161 
166 void dump_aux_vars (const SG::AuxVectorData* vec);
167 
168 
173 void dump_aux_vars (const SG::AuxElement& elt);
174 
175 
180 void dump_aux_vars (const SG::AuxElement* elt);
181 
182 
183 } // namespace SGdebug
184 
185 
186 #endif // not ATHCONTAINERS_DEBUG_H
store
StoreGateSvc * store
Definition: fbtTestBasics.cxx:69
SGdebug::aux_var_as_string
std::string aux_var_as_string(SG::auxid_t auxid, const void *p)
Convert an aux variable to a string.
Definition: Control/AthContainers/Root/debug.cxx:208
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
SG::AuxElement
Base class for elements of a container that can have aux data.
Definition: AuxElement.h:446
SGdebug
Definition: Control/AthContainers/AthContainers/debug.h:25
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:56
SG::auxid_t
size_t auxid_t
Identifier for a particular aux data item.
Definition: AuxTypes.h:27
lumiFormat.i
int i
Definition: lumiFormat.py:92
AuxVectorData.h
Manage lookup of vectors of auxiliary data.
SG::auxid_set_t
A set of aux data identifiers.
Definition: AuxTypes.h:47
SGdebug::dump_aux_vars
void dump_aux_vars(const SG::IConstAuxStore &store, size_t i)
Dump aux variables from a store for a single element.
Definition: Control/AthContainers/Root/debug.cxx:241
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:41
SG::AuxVectorData
Manage lookup of vectors of auxiliary data.
Definition: AuxVectorData.h:167
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:30
AuxElement.h
Base class for elements of a container that can have aux data.