#include <src/JobOptionsSvc/Catalog.h>
Definition at line 29 of file Catalog.h.
◆ CatalogSet
◆ const_iterator
typedef CatalogSet::const_iterator Gaudi::Parsers::Catalog::const_iterator |
◆ iterator
typedef CatalogSet::iterator Gaudi::Parsers::Catalog::iterator |
◆ PropertySet
typedef boost::ptr_set<Property, Property::LessThen> Gaudi::Parsers::Catalog::PropertySet |
◆ value_type
typedef CatalogSet::value_type Gaudi::Parsers::Catalog::value_type |
◆ Add() [1/2]
bool Gaudi::Parsers::Catalog::Add |
( |
Property * |
property | ) |
|
Definition at line 31 of file Catalog.cpp.
40 it->second.erase( *property );
41 it->second.insert( property );
◆ Add() [2/2]
template<typename Value >
Definition at line 64 of file Catalog.h.
Gaudi::Details::PropertyBase Property
\fixme backward compatibility hack for old Property base class
bool Add(Property *property)
◆ begin() [1/2]
iterator Gaudi::Parsers::Catalog::begin |
( |
| ) |
|
|
inline |
◆ begin() [2/2]
◆ ClientNames()
Definition at line 25 of file Catalog.cpp.
T back_inserter(T... args)
◆ end() [1/2]
iterator Gaudi::Parsers::Catalog::end |
( |
| ) |
|
|
inline |
◆ end() [2/2]
◆ fillStream()
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(...)".
◆ Find()
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;
◆ ToString()
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"; }
◆ catalog_
The documentation for this class was generated from the following files: