ATLAS Offline Software
Loading...
Searching...
No Matches
StoreGate/src/VarHandleKeyArray.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7namespace Gaudi {
8 namespace Parsers {
9
10
21 parse(SG::VarHandleKeyArray& v, const std::string& s)
22 {
23 std::vector<std::string> vp;
24 StatusCode sc = Gaudi::Parsers::parse(vp, s);
25
26 if (sc.isSuccess())
27 sc = v.assign( vp );
28
29 return sc;
30 }
31
32 } //> ns Parsers
33
34 namespace Utils {
35
36
46 std::ostream&
47 toStream(const SG::VarHandleKeyArray& v, std::ostream& o)
48 {
49 o << "[" << v.toString() << "]";
50 return o;
51 }
52
53 } //> ns Utils
54} //> ns Gaudi
55
56
57
58
59namespace std {
60 ostream& operator<<(ostream& s, const SG::VarHandleKeyArray& m) {
61 s << "[" << m.toString() << "]";
62 return s;
63 }
64}
static Double_t sc
Base class for VarHandleKeyArray for reading from StoreGate.
::StatusCode StatusCode
StatusCode definition for legacy code.
StatusCode parse(std::tuple< Tup... > &tup, const Gaudi::Parsers::InputData &input)
std::ostream & toStream(const SG::VarHandleKeyArray &v, std::ostream &o)
Gaudi function used to convert a property to a string.
=============================================================================
STL namespace.
ostream & operator<<(ostream &s, const SG::VarHandleKey &m)