#include </builds/gaudi/Gaudi/GaudiCoreSvc/src/JobOptionsSvc/Catalog.h>
Definition at line 39 of file Catalog.h.
◆ CatalogSet
◆ const_iterator
◆ iterator
◆ PropertySet
◆ 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 >
◆ begin() [1/2]
iterator Gaudi::Parsers::Catalog::begin |
( |
| ) |
|
|
inline |
◆ begin() [2/2]
◆ ClientNames()
◆ 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 69 of file Catalog.cpp.
70 o << R
"(// ==================================================================================
72 // ==================================================================================
75 size_t nComponents = 0;
76 size_t nProperties = 0;
78 for (
const auto& client :
catalog_ ) {
81 nProperties += client.second.size();
82 for (
const auto& current : client.second ) {
83 o <<
fmt::format(
"{:<44} = {} ;", current.FullName(), current.ValueAsString() );
86 o <<
fmt::format( R
"(// ==================================================================================
87 // End parser catalog #Components={1} #Properties={2}
88 // ==================================================================================
◆ Find()
gp::Property * Gaudi::Parsers::Catalog::Find |
( |
std::string_view |
client, |
|
|
std::string_view |
name |
|
) |
| |
Definition at line 49 of file Catalog.cpp.
53 auto pit =
std::find_if( it->second.begin(), it->second.end(),
54 [&](
const Property& property ) { return name == property.NameInClient(); } );
56 return ( pit != it->second.end() ) ? &*pit :
nullptr;
◆ ToString()
std::string Gaudi::Parsers::Catalog::ToString |
( |
| ) |
const |
Definition at line 59 of file Catalog.cpp.
61 for (
const auto& client :
catalog_ ) {
62 for (
const auto& current : client.second ) { result += current.ToString() +
"\n"; }
◆ catalog_
The documentation for this class was generated from the following files: