#include <PropertyValue.h>
Definition at line 22 of file PropertyValue.h.
| typedef boost::scoped_ptr<const PropertyValue> Gaudi::Parsers::PropertyValue::ConstScopedPtr |
| typedef boost::shared_ptr<const PropertyValue> Gaudi::Parsers::PropertyValue::ConstSharedPtr |
| typedef boost::scoped_ptr<PropertyValue> Gaudi::Parsers::PropertyValue::ScopedPtr |
| typedef boost::shared_ptr<PropertyValue> Gaudi::Parsers::PropertyValue::SharedPtr |
| Gaudi::Parsers::PropertyValue::PropertyValue |
( |
const Value & |
value, |
|
|
bool |
is_reference = false |
|
) |
| |
|
inlineexplicit |
| Gaudi::Parsers::PropertyValue::PropertyValue |
( |
const Value & |
value, |
|
|
const Position & |
position, |
|
|
bool |
is_reference = false |
|
) |
| |
|
inline |
| bool Gaudi::Parsers::PropertyValue::HasPosition |
( |
| ) |
const |
|
inline |
| bool Gaudi::Parsers::PropertyValue::IsMap |
( |
| ) |
const |
Definition at line 25 of file PropertyValue.cpp.
{
return boost::get<std::map<std::string, std::string> >(&
value_) != NULL;
}
| bool Gaudi::Parsers::PropertyValue::IsReference |
( |
| ) |
const |
|
inline |
| bool Gaudi::Parsers::PropertyValue::IsSimple |
( |
| ) |
const |
| bool Gaudi::Parsers::PropertyValue::IsVector |
( |
| ) |
const |
| const MapOfStrings& Gaudi::Parsers::PropertyValue::Map |
( |
| ) |
const |
|
inline |
| const gp::PropertyValue Gaudi::Parsers::PropertyValue::operator+ |
( |
const PropertyValue & |
right | ) |
|
| gp::PropertyValue & Gaudi::Parsers::PropertyValue::operator+= |
( |
const PropertyValue & |
right | ) |
|
Definition at line 30 of file PropertyValue.cpp.
{
throw PropertyValueException::WrongLValue();
}
boost::get<VectorOfStrings>(
value_).push_back(
boost::get<std::string>(
right.value_));
return *this;
}
boost::get<VectorOfStrings>(
right.value_)) {
}
return *this;
}
throw PropertyValueException::WrongRValue();
}
throw PropertyValueException::WrongRValue();
}
BOOST_FOREACH(
const MapOfStrings::value_type&
item, rmap) {
}
return *this;
}
return *this;
}
| const gp::PropertyValue Gaudi::Parsers::PropertyValue::operator- |
( |
const PropertyValue & |
right | ) |
|
| gp::PropertyValue & Gaudi::Parsers::PropertyValue::operator-= |
( |
const PropertyValue & |
right | ) |
|
Definition at line 74 of file PropertyValue.cpp.
{
throw PropertyValueException::WrongLValue();
}
return *this;
}
}
return *this;
}
throw PropertyValueException::WrongRValue();
}
map.erase(
right.String());
return *this;
}
map.erase(item);
}
return *this;
}
throw PropertyValueException::WrongRValue();
}
throw PropertyValueException::WrongLValue();
}
| const Position& Gaudi::Parsers::PropertyValue::position |
( |
| ) |
const |
|
inline |
| const std::string& Gaudi::Parsers::PropertyValue::String |
( |
| ) |
const |
|
inline |
| std::string Gaudi::Parsers::PropertyValue::ToString |
( |
| ) |
const |
Definition at line 120 of file PropertyValue.cpp.
{
value = boost::get<std::vector<std::string> >(&
value_);
assert(value != NULL);
if (value->
at(0) !=
"") {
return "@"+value->
at(0)+
"."+value->
at(1);
} else {
}
}
if (
const std::string* value = boost::get<std::string>(&value_)) {
return *value;
result += delim + in;
delim = ", ";
}
return result+"]";
BOOST_FOREACH(const pair_t& in, *value) {
result += delim + in.
first +
":" + in.second;
delim = ", ";
}
return result+"}";
}
assert(false);
}
| bool Gaudi::Parsers::PropertyValue::is_reference_ |
|
private |
| Position Gaudi::Parsers::PropertyValue::position_ |
|
private |
| Value Gaudi::Parsers::PropertyValue::value_ |
|
private |
The documentation for this class was generated from the following files:
- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v24r2/GaudiCoreSvc/src/JobOptionsSvc/PropertyValue.h
- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v24r2/GaudiCoreSvc/src/JobOptionsSvc/PropertyValue.cpp