ATLAS Offline Software
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 
7 namespace Gaudi {
8  namespace Parsers {
9 
10 
21  parse(SG::VarHandleKeyArray& v, const std::string& s)
22  {
23  std::vector<std::string> vp;
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 
59 namespace std {
60  ostream& operator<<(ostream& s, const SG::VarHandleKeyArray& m) {
61  s << "[" << m.toString() << "]";
62  return s;
63  }
64 }
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
python.SystemOfUnits.m
int m
Definition: SystemOfUnits.py:91
Gaudi::Parsers::parse
StatusCode parse(std::tuple< Tup... > &tup, const Gaudi::Parsers::InputData &input)
Definition: CaloGPUClusterAndCellDataMonitorOptions.h:284
Gaudi::Utils::toStream
std::ostream & toStream(const SG::VarHandleKeyArray &v, std::ostream &o)
Gaudi function used to convert a property to a string.
Definition: StoreGate/src/VarHandleKeyArray.cxx:47
VarHandleKeyArray.h
Base class for VarHandleKeyArray for reading from StoreGate.
AthenaPoolTestRead.sc
sc
Definition: AthenaPoolTestRead.py:27
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
operator<<
std::ostream & operator<<(std::ostream &lhs, const TestGaudiProperty &rhs)
Definition: TestGaudiProperty.cxx:69
python.PyAthena.v
v
Definition: PyAthena.py:154
Gaudi
=============================================================================
Definition: CaloGPUClusterAndCellDataMonitorOptions.h:273
Utils
Definition: CaloCellSelectorUtils.cxx:10
SG::VarHandleKeyArray
Definition: StoreGate/StoreGate/VarHandleKeyArray.h:28