#include <src/JobOptionsSvc/Catalog.h>
Definition at line 31 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 35 of file Catalog.cpp.
Gaudi::Details::PropertyBase * property(const std::string &name) const
template<typename Value >
Definition at line 67 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 28 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 73 of file Catalog.cpp.
79 size_t nComponents = 0;
80 size_t nProperties = 0;
82 for (
const auto& client :
catalog_ ) {
85 nProperties += client.second.size();
86 for (
const auto& current : client.second ) {
87 o <<
boost::format(
"%1% %|44t| = %2% ; " ) % current.FullName() % current.ValueAsString() <<
'\n';
91 <<
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 51 of file Catalog.cpp.
56 auto pit =
std::find_if( it->second.begin(), it->second.end(), Property::Equal( name ) );
57 return ( pit != it->second.end() ) ? &*pit :
nullptr;
std::string Gaudi::Parsers::Catalog::ToString |
( |
| ) |
const |
Definition at line 60 of file Catalog.cpp.
63 for (
const auto& client :
catalog_ ) {
64 for (
const auto& current : client.second ) {
65 result += current.ToString() +
"\n";
The documentation for this class was generated from the following files: