Go to the documentation of this file.
11 #ifndef JOBOPTIONSVC_PROPERTY_VALUE_H_
12 #define JOBOPTIONSVC_PROPERTY_VALUE_H_
34 using Value = std::variant<std::string, VectorOfStrings, MapOfStrings>;
115 #endif // JOBOPTIONSVC_PROPERTY_VALUE_H_
PropertyValue & operator-=(const PropertyValue &right)
const PropertyValue operator-(const PropertyValue &right)
std::string ToString() const
PropertyValueException(const std::string &message)
virtual ~PositionalPropertyValueException()
static PositionalPropertyValueException CouldNotFind(const Position &position, const std::string &name)
static PropertyValueException WrongRValue()
const MapOfStrings & Map() const
static PositionalPropertyValueException CouldNotFindUnit(const Position &position, const std::string &name)
const VectorOfStrings & Vector() const
static PositionalPropertyValueException CouldNotFindProperty(const Position &position, const std::string &name)
PropertyValue(Value value, const Position &position, bool is_reference=false)
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...
PropertyValue & operator+=(const PropertyValue &right)
const Position & position() const
static PropertyValueException WrongLValue()
const PropertyValue operator+(const PropertyValue &right)
VectorOfStrings & Vector()
std::variant< std::string, VectorOfStrings, MapOfStrings > Value
const Position & position() const
const std::string & String() const
PropertyValue(Value value, bool is_reference=false)
PositionalPropertyValueException(const Position &position, const std::string &message)