#include </builds/gaudi/Gaudi/GaudiCoreSvc/src/JobOptionsSvc/PropertyValue.h>
Definition at line 22 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 |
◆ 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+()
◆ operator+=()
◆ operator-()
◆ operator-=()
Definition at line 39 of file PropertyValue.cpp.
43 const std::string& rhs ) { lhs.erase( std::find( lhs.begin(), lhs.end(), rhs ) ); },
44 []( std::vector<std::string>& lhs,
const std::vector<std::string>& rhs ) {
45 for (
const auto& item : rhs ) lhs.erase( std::find( lhs.begin(), lhs.end(), item ) );
47 []( std::map<std::string, std::string>& lhs,
const std::string& rhs ) { lhs.erase( rhs ); },
48 []( std::map<std::string, std::string>& lhs,
const std::vector<std::string>& rhs ) {
49 for (
const auto& item : rhs ) lhs.erase( item );
◆ position()
| const Position& Gaudi::Parsers::PropertyValue::position |
( |
| ) |
const |
|
inline |
◆ String() [1/2]
| std::string& Gaudi::Parsers::PropertyValue::String |
( |
| ) |
|
|
inline |
◆ String() [2/2]
| const std::string& Gaudi::Parsers::PropertyValue::String |
( |
| ) |
const |
|
inline |
◆ ToString()
| std::string Gaudi::Parsers::PropertyValue::ToString |
( |
| ) |
const |
Definition at line 61 of file PropertyValue.cpp.
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 );
72 [](
const VectorOfStrings&
v ) {
return '[' + boost::algorithm::join(
v,
", " ) +
']'; },
74 std::string result =
"{";
75 std::string delim =
"";
76 for (
const auto& in :
v ) {
77 result += delim + in.first +
":" + in.second;
◆ 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: