#include <src/JobOptionsSvc/Catalog.h>
Definition at line 28 of file Catalog.h.
typedef CatalogSet::const_iterator Gaudi::Parsers::Catalog::const_iterator |
typedef CatalogSet::iterator Gaudi::Parsers::Catalog::iterator |
typedef boost::ptr_set<Property, Property::LessThen> Gaudi::Parsers::Catalog::PropertySet |
typedef CatalogSet::value_type Gaudi::Parsers::Catalog::value_type |
bool Gaudi::Parsers::Catalog::Add |
( |
Property * |
property | ) |
|
Definition at line 28 of file Catalog.cpp.
Gaudi::Details::PropertyBase * property(const std::string &name) const
template<typename Value >
Definition at line 62 of file Catalog.h.
Gaudi::Details::PropertyBase Property
backward compatibility hack for old Property base class
bool Add(Property *property)
iterator Gaudi::Parsers::Catalog::begin |
( |
| ) |
|
|
inline |
Definition at line 21 of file Catalog.cpp.
T back_inserter(T...args)
iterator Gaudi::Parsers::Catalog::end |
( |
| ) |
|
|
inline |
print the content of the catalogue to std::ostream
Definition at line 66 of file Catalog.cpp.
72 size_t nComponents = 0 ;
73 size_t nProperties = 0 ;
75 for (
const auto& client :
catalog_) {
79 nProperties += client.second.size() ;
80 for (
const auto& current : client.second) {
83 % current.ValueAsString()
88 <<
boost::format(
"// End parser catalog #Components=%1% #Properties=%2%")
89 % nComponents % nProperties <<
'\n' GAUDI_API std::string format(const char *,...)
MsgStream format utility "a la sprintf(...)".
Definition at line 43 of file Catalog.cpp.
48 auto pit =
std::find_if(it->second.begin(), it->second.end(),
49 Property::Equal(name));
50 return (pit != it->second.end()) ? &*pit :
nullptr;
std::string Gaudi::Parsers::Catalog::ToString |
( |
| ) |
const |
Definition at line 54 of file Catalog.cpp.
56 for (
const auto& client :
catalog_) {
57 for (
const auto& current : client.second) {
58 result += current.ToString()+
"\n";
The documentation for this class was generated from the following files: