ATLAS Offline Software
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 
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 // GAUDI_API
24 // parse(SG::VarHandleKeyArray& v, const std::string& s)
25 // {
26 // std::vector<std::string> vp;
27 // StatusCode sc = Gaudi::Parsers::parse(vp, s);
28 
29 // if (sc.isSuccess())
30 // sc = v.assign( vp );
31 
32 // return sc;
33 // }
34 
35 // } //> ns Parsers
36 
37 // namespace Utils {
38 
39 
40 // /**
41 // * @brief Gaudi function used to convert a property to a string.
42 // * @param v The object to convert.
43 // * @param o Stream to which to do the conversion.
44 // *
45 // * Used during Gaudi property handling to get a string representation of @c v.
46 // * Note that if the representation is a string, it should be surrounded
47 // * by quote marks.
48 // */
49 // std::ostream&
50 // GAUDI_API
51 // toStream(const SG::VarHandleKeyArray& v, std::ostream& o)
52 // {
53 // o << "[" << v.toString() << "]";
54 // return o;
55 // }
56 
57 // } //> ns Utils
58 // } //> ns Gaudi
59 
60 
61 
62 
63 namespace std {
64  ostream& operator<<(ostream& s, const SG::VarHandleKeyArray& m) {
65  s << "[" << m.toString() << "]";
66  return s;
67  }
68 }
69 
70 #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