ATLAS Offline Software
Control
AthToolSupport
AsgDataHandles
Root
AthToolSupport/AsgDataHandles/Root/VarHandleKeyArray.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifdef XAOD_STANDALONE
6
7
#include "
AsgDataHandles/VarHandleKeyArray.h
"
8
9
// namespace Gaudi {
10
// namespace Parsers {
11
12
13
// /**
14
// * @brief Gaudi function used to initialize a property from a string.
15
// * @param v The object to initialize.
16
// * @param s The string from which to initialize.
17
// *
18
// * Used during Gaudi property handling to set object @c v from the string @c s.
19
// * Note that @c s is a representation of the property setting; thus, in the
20
// * case of setting a property from a string, @c s will contain quote marks.
21
// */
22
// StatusCode
23
// parse(SG::VarHandleKeyArray& v, const std::string& s)
24
// {
25
// std::vector<std::string> vp;
26
// StatusCode sc = Gaudi::Parsers::parse(vp, s);
27
28
// if (sc.isSuccess())
29
// sc = v.assign( vp );
30
31
// return sc;
32
// }
33
34
// } //> ns Parsers
35
36
// namespace Utils {
37
38
39
// /**
40
// * @brief Gaudi function used to convert a property to a string.
41
// * @param v The object to convert.
42
// * @param o Stream to which to do the conversion.
43
// *
44
// * Used during Gaudi property handling to get a string representation of @c v.
45
// * Note that if the representation is a string, it should be surrounded
46
// * by quote marks.
47
// */
48
// std::ostream&
49
// toStream(const SG::VarHandleKeyArray& v, std::ostream& o)
50
// {
51
// o << "[" << v.toString() << "]";
52
// return o;
53
// }
54
55
// } //> ns Utils
56
// } //> ns Gaudi
57
58
59
60
61
namespace
std {
62
ostream&
operator<<
(ostream&
s
,
const
SG::VarHandleKeyArray
&
m
) {
63
s
<<
"["
<<
m
.toString() <<
"]"
;
64
return
s
;
65
}
66
}
67
68
#endif
python.SystemOfUnits.s
int s
Definition:
SystemOfUnits.py:131
python.SystemOfUnits.m
int m
Definition:
SystemOfUnits.py:91
VarHandleKeyArray.h
operator<<
std::ostream & operator<<(std::ostream &lhs, const TestGaudiProperty &rhs)
Definition:
TestGaudiProperty.cxx:69
SG::VarHandleKeyArray
Definition:
StoreGate/StoreGate/VarHandleKeyArray.h:28
Generated on Wed Jan 8 2025 21:21:07 for ATLAS Offline Software by
1.8.18