#include <src/JobOptionsSvc/PropertyValue.h>
Definition at line 19 of file PropertyValue.h.
◆ MapOfStrings
◆ Value
◆ VectorOfStrings
◆ PropertyValue() [1/2]
Gaudi::Parsers::PropertyValue::PropertyValue |
( |
Value |
value, |
|
|
bool |
is_reference = false |
|
) |
| |
|
inlineexplicit |
◆ PropertyValue() [2/2]
Gaudi::Parsers::PropertyValue::PropertyValue |
( |
Value |
value, |
|
|
const Position & |
position, |
|
|
bool |
is_reference = false |
|
) |
| |
|
inline |
◆ HasPosition()
bool Gaudi::Parsers::PropertyValue::HasPosition |
( |
| ) |
const |
|
inline |
◆ IsMap()
bool Gaudi::Parsers::PropertyValue::IsMap |
( |
| ) |
const |
Definition at line 21 of file PropertyValue.cpp.
21 {
return std::holds_alternative<std::map<std::string, std::string>>(
value_ ); }
◆ IsReference()
bool Gaudi::Parsers::PropertyValue::IsReference |
( |
| ) |
const |
|
inline |
◆ IsSimple()
bool Gaudi::Parsers::PropertyValue::IsSimple |
( |
| ) |
const |
◆ IsVector()
bool Gaudi::Parsers::PropertyValue::IsVector |
( |
| ) |
const |
◆ Map() [1/2]
◆ Map() [2/2]
const MapOfStrings& Gaudi::Parsers::PropertyValue::Map |
( |
| ) |
const |
|
inline |
◆ operator+()
const gp::PropertyValue Gaudi::Parsers::PropertyValue::operator+ |
( |
const PropertyValue & |
right | ) |
|
Definition at line 40 of file PropertyValue.cpp.
PropertyValue(Value value, bool is_reference=false)
◆ operator+=()
gp::PropertyValue & Gaudi::Parsers::PropertyValue::operator+= |
( |
const PropertyValue & |
right | ) |
|
Definition at line 23 of file PropertyValue.cpp.
33 lhs.
insert( rhs.begin(), rhs.end() );
static PropertyValueException WrongRValue()
auto overload(lambda_ts &&... lambdas)
static PropertyValueException WrongLValue()
◆ operator-()
const gp::PropertyValue Gaudi::Parsers::PropertyValue::operator- |
( |
const PropertyValue & |
right | ) |
|
Definition at line 62 of file PropertyValue.cpp.
PropertyValue(Value value, bool is_reference=false)
◆ operator-=()
gp::PropertyValue & Gaudi::Parsers::PropertyValue::operator-= |
( |
const PropertyValue & |
right | ) |
|
Definition at line 44 of file PropertyValue.cpp.
54 for (
const auto& item : rhs ) lhs.
erase( item );
static PropertyValueException WrongRValue()
auto overload(lambda_ts &&... lambdas)
static PropertyValueException WrongLValue()
◆ position()
const Position& Gaudi::Parsers::PropertyValue::position |
( |
| ) |
const |
|
inline |
◆ String() [1/2]
◆ String() [2/2]
const std::string& Gaudi::Parsers::PropertyValue::String |
( |
| ) |
const |
|
inline |
◆ ToString()
std::string Gaudi::Parsers::PropertyValue::ToString |
( |
| ) |
const |
Definition at line 66 of file PropertyValue.cpp.
68 const auto& value = std::get<std::vector<std::string>>(
value_ );
69 if ( value.at( 0 ) !=
"" ) {
70 return "@" + value.at( 0 ) +
"." + value.at( 1 );
72 return "@" + value.at( 0 );
77 return '[' + boost::algorithm::join( v,
", " ) +
']';
82 for (
const auto& in : v ) {
83 result += delim + in.first +
":" + in.second;
auto overload(lambda_ts &&... lambdas)
◆ Vector() [1/2]
◆ Vector() [2/2]
◆ is_reference_
bool Gaudi::Parsers::PropertyValue::is_reference_ |
|
private |
◆ position_
Position Gaudi::Parsers::PropertyValue::position_ |
|
private |
◆ value_
Value Gaudi::Parsers::PropertyValue::value_ |
|
private |
The documentation for this class was generated from the following files: