#include <src/JobOptionsSvc/Catalog.h>
Definition at line 29 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 31 of file Catalog.cpp.
Gaudi::Details::PropertyBase * property(const std::string &name) const
template<typename Value >
Definition at line 64 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 25 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 64 of file Catalog.cpp.
69 size_t nComponents = 0;
70 size_t nProperties = 0;
72 for (
const auto& client :
catalog_ ) {
75 nProperties += client.second.size();
76 for (
const auto& current : client.second ) {
77 o <<
boost::format(
"%1% %|44t| = %2% ; " ) % current.FullName() % current.ValueAsString() <<
'\n';
81 <<
boost::format(
"// End parser catalog #Components=%1% #Properties=%2%" ) % nComponents % nProperties <<
'\n' GAUDI_API std::string format(const char *,...)
MsgStream format utility "a la sprintf(...)".
Definition at line 46 of file Catalog.cpp.
50 auto pit =
std::find_if( it->second.begin(), it->second.end(), Property::Equal( name ) );
51 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 ) { result += current.ToString() +
"\n"; }
The documentation for this class was generated from the following files: