28 [](
VectorOfStrings& lhs,
const std::string& rhs ) { lhs.push_back( rhs ); },
43 const std::string& rhs ) { lhs.erase( std::find( lhs.begin(), lhs.end(), rhs ) ); },
45 for (
const auto& item : rhs ) lhs.erase( std::find( lhs.begin(), lhs.end(), item ) );
47 [](
MapOfStrings& lhs,
const std::string& rhs ) { lhs.erase( rhs ); },
49 for (
const auto& item : rhs ) lhs.erase( item );
63 const auto& value = std::get<VectorOfStrings>(
value_ );
64 if ( value.at( 0 ) !=
"" ) {
65 return "@" + value.at( 0 ) +
"." + value.at( 1 );
67 return "@" + value.at( 0 );
73 using GaudiUtils::operator<<;
74 std::ostringstream s{};
Provide serialization function (output only) for some common STL classes (vectors,...
static PropertyValueException WrongRValue()
static PropertyValueException WrongLValue()
std::vector< std::string > VectorOfStrings
std::map< std::string, std::string, std::less<> > MapOfStrings
const PropertyValue operator+(const PropertyValue &right)
PropertyValue & operator+=(const PropertyValue &right)
const PropertyValue operator-(const PropertyValue &right)
std::string ToString() const
PropertyValue(Value value, bool is_reference=false)
PropertyValue & operator-=(const PropertyValue &right)
auto overload(lambda_ts &&... lambdas)