#include <src/JobOptionsSvc/Catalog.h>
Definition at line 39 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 34 of file Catalog.cpp.
43 it->second.erase( *property );
44 it->second.insert( property );
◆ Add() [2/2]
template<typename Value >
Definition at line 74 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 28 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 67 of file Catalog.cpp.
68 o << R
"(// ================================================================================== 70 // ================================================================================== 73 size_t nComponents = 0;
74 size_t nProperties = 0;
76 for (
const auto& client :
catalog_ ) {
79 nProperties += client.second.
size();
80 for (
const auto& current : client.second ) {
81 o <<
fmt::format(
"{:<44} = {} ;", current.FullName(), current.ValueAsString() );
84 o <<
fmt::format( R
"(// ================================================================================== 85 // End parser catalog #Components={1} #Properties={2} 86 // ================================================================================== 88 nComponents, nProperties ); GAUDI_API std::string format(const char *,...)
MsgStream format utility "a la sprintf(...)".
◆ Find()
Definition at line 49 of file Catalog.cpp.
53 auto pit =
std::find_if( it->second.begin(), it->second.end(), Property::Equal(
name ) );
54 return ( pit != it->second.end() ) ? &*pit :
nullptr;
◆ ToString()
| std::string Gaudi::Parsers::Catalog::ToString |
( |
| ) |
const |
Definition at line 57 of file Catalog.cpp.
59 for (
const auto& client :
catalog_ ) {
60 for (
const auto& current : client.second ) { result += current.ToString() +
"\n"; }
◆ catalog_
The documentation for this class was generated from the following files: