#include </builds/gaudi/Gaudi/GaudiCoreSvc/src/JobOptionsSvc/PropertyValue.h>
Definition at line 29 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 51 of file PropertyValue.cpp.
55 const std::string& rhs ) { lhs.erase( std::find( lhs.begin(), lhs.end(), rhs ) ); },
56 []( std::vector<std::string>& lhs,
const std::vector<std::string>& rhs ) {
57 for (
const auto& item : rhs ) lhs.erase( std::find( lhs.begin(), lhs.end(), item ) );
59 []( std::map<std::string, std::string>& lhs,
const std::string& rhs ) { lhs.erase( rhs ); },
60 []( std::map<std::string, std::string>& lhs,
const std::vector<std::string>& rhs ) {
61 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 73 of file PropertyValue.cpp.
75 const auto& value = std::get<VectorOfStrings>(
value_ );
76 if ( value.at( 0 ) !=
"" ) {
77 return "@" + value.at( 0 ) +
"." + value.at( 1 );
79 return "@" + value.at( 0 );
84 [](
const VectorOfStrings&
v ) {
return '[' + boost::algorithm::join(
v,
", " ) +
']'; },
86 std::string result =
"{";
87 std::string delim =
"";
88 for (
const auto& in :
v ) {
89 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: