ATLAS Offline Software
Classes | Typedefs | Functions
Gaudi::Parsers Namespace Reference

Classes

struct  Grammar_< Iterator, T, Skipper, typename std::enable_if_t< impl::class_can_be_tuple_v< T > > >
 

Typedefs

typedef std::vector< std::vector< int > > VecVecInt_t
 
typedef std::map< std::string, std::string > Dict_t
 
typedef std::vector< Dict_tVecDict_t
 

Functions

template<class ... Tup>
StatusCode parse (std::tuple< Tup... > &tup, const Gaudi::Parsers::InputData &input)
 
template<class T >
StatusCode parse (std::vector< T > &v, const Gaudi::Parsers::InputData &input)
 
template<unsigned int N>
StatusCode parse (CaloRec::Array< N > &, const std::string &)
 
StatusCode parse (SG::VarHandleKey &v, const std::string &s)
 Gaudi function used to initialize a property from a string. More...
 
StatusCode parse (SG::VarHandleKeyArray &v, const std::string &s)
 Gaudi function used to initialize a property from a string. More...
 
StatusCode parse (SG::VarHandleBase &v, const std::string &s)
 
StatusCode parse (VecVecInt_t &result, const std::string &input)
 
StatusCode parse (VecDict_t &result, const std::string &input)
 

Typedef Documentation

◆ Dict_t

typedef std::map<std::string, std::string> Gaudi::Parsers::Dict_t

Definition at line 291 of file TrigEgammaMonitorBaseAlgorithm.h.

◆ VecDict_t

typedef std::vector<Dict_t> Gaudi::Parsers::VecDict_t

Definition at line 294 of file TrigEgammaMonitorBaseAlgorithm.h.

◆ VecVecInt_t

typedef std::vector< std::vector< int > > Gaudi::Parsers::VecVecInt_t

Function Documentation

◆ parse() [1/8]

template<unsigned int N>
StatusCode Gaudi::Parsers::parse ( CaloRec::Array< N > &  ,
const std::string &   
)

Definition at line 43 of file ToolWithConstants.h.

44 {
45  return StatusCode::FAILURE;
46 }

◆ parse() [2/8]

StatusCode Gaudi::Parsers::parse ( SG::VarHandleBase v,
const std::string &  s 
)

◆ parse() [3/8]

GAUDI_API StatusCode Gaudi::Parsers::parse ( SG::VarHandleKey v,
const std::string &  s 
)

Gaudi function used to initialize a property from a string.

Parameters
vThe object to initialize.
sThe string from which to initialize.

Used during Gaudi property handling to set object v from the string s. Note that s is a representation of the property setting; thus, in the case of setting a property from a string, s will contain quote marks.

Definition at line 37 of file VarHandleKeyProperty.cxx.

38 {
39  std::string prop;
41  if (sc.isSuccess())
42  sc = v.assign (prop);
43  return sc;
44 }

◆ parse() [4/8]

GAUDI_API StatusCode Gaudi::Parsers::parse ( SG::VarHandleKeyArray v,
const std::string &  s 
)

Gaudi function used to initialize a property from a string.

Parameters
vThe object to initialize.
sThe string from which to initialize.

Used during Gaudi property handling to set object v from the string s. Note that s is a representation of the property setting; thus, in the case of setting a property from a string, s will contain quote marks.

Definition at line 22 of file StoreGate/src/VarHandleKeyArray.cxx.

23  {
24  std::vector<std::string> vp;
26 
27  if (sc.isSuccess())
28  sc = v.assign( vp );
29 
30  return sc;
31  }

◆ parse() [5/8]

template<class ... Tup>
StatusCode Gaudi::Parsers::parse ( std::tuple< Tup... > &  tup,
const Gaudi::Parsers::InputData &  input 
)

Definition at line 284 of file CaloGPUClusterAndCellDataMonitorOptions.h.

285  {
286  return parse_(tup, input);
287  }

◆ parse() [6/8]

template<class T >
StatusCode Gaudi::Parsers::parse ( std::vector< T > &  v,
const Gaudi::Parsers::InputData &  input 
)

Definition at line 290 of file CaloGPUClusterAndCellDataMonitorOptions.h.

291  {
292  return parse_(v, input);
293  }

◆ parse() [7/8]

StatusCode Gaudi::Parsers::parse ( VecDict_t result,
const std::string &  input 
)

Definition at line 750 of file TrigEgammaMonitorBaseAlgorithm.cxx.

750 { return parse_( result, input ); }

◆ parse() [8/8]

StatusCode Gaudi::Parsers::parse ( VecVecInt_t result,
const std::string &  input 
)

Definition at line 25 of file Reconstruction/RecoAlgs/IsolationAlgs/src/VectorVectorIntParser.cxx.

25 { return parse_( result, input ); }
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
get_generator_info.result
result
Definition: get_generator_info.py:21
Gaudi::Parsers::parse
StatusCode parse(std::tuple< Tup... > &tup, const Gaudi::Parsers::InputData &input)
Definition: CaloGPUClusterAndCellDataMonitorOptions.h:284
AthenaPoolTestRead.sc
sc
Definition: AthenaPoolTestRead.py:27
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
PlotPulseshapeFromCool.input
input
Definition: PlotPulseshapeFromCool.py:106
python.PyAthena.v
v
Definition: PyAthena.py:157