ATLAS Offline Software
Loading...
Searching...
No Matches
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::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.
StatusCode parse (SG::VarHandleKeyArray &v, const std::string &s)
 Gaudi function used to initialize a property from a string.
StatusCode parse (SG::VarHandleBase &v, const std::string &s)
StatusCode parse (std::set< std::tuple< std::string, std::string, int > > &rules, std::string_view input)
 Parse the specific tuple property used by Athena::ROOTMessageFilterSvc.
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 294 of file TrigEgammaMonitorBaseAlgorithm.h.

◆ VecDict_t

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

Definition at line 297 of file TrigEgammaMonitorBaseAlgorithm.h.

Function Documentation

◆ parse() [1/8]

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

Definition at line 42 of file ToolWithConstants.h.

43{
44 return StatusCode::FAILURE;
45}

◆ parse() [2/8]

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

◆ parse() [3/8]

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;
40 StatusCode sc = Gaudi::Parsers::parse(prop, s);
41 if (sc.isSuccess())
42 sc = v.assign (prop);
43 return sc;
44}
static Double_t sc
StatusCode parse(std::tuple< Tup... > &tup, const Gaudi::Parsers::InputData &input)

◆ parse() [4/8]

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 21 of file StoreGate/src/VarHandleKeyArray.cxx.

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 }

◆ parse() [5/8]

StatusCode Gaudi::Parsers::parse ( std::set< std::tuple< std::string, std::string, int > > & rules,
std::string_view input )

Parse the specific tuple property used by Athena::ROOTMessageFilterSvc.

Definition at line 21 of file ROOTMessageFilterSvc.cxx.

22 {
23 // Do the heavy lifting using Gaudi's templated helper function.
24 return Gaudi::Parsers::parse_(rules, input);
25}

◆ parse() [6/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() [7/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() [8/8]

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

Definition at line 780 of file TrigEgammaMonitorBaseAlgorithm.cxx.

780{ return parse_( result, input ); }