2 #ifndef JOBOPTIONSSVC_SVCCATALOG_H
3 #define JOBOPTIONSSVC_SVCCATALOG_H 1
15 #include "GaudiKernel/StatusCode.h"
16 #include "GaudiKernel/Property.h"
36 const std::string&
name );
37 const PropertiesT*
getProperties(
const std::string& client)
const;
41 std::ostream&
fillStream ( std::ostream& o )
const ;
43 const PropertiesT*
findProperties(
const std::string& client)
const;
45 std::pair<bool, PropertiesT::iterator>
findProperty(PropertiesT& props,
const std::string&
name);
57 #endif // JOBOPTIONSSVC_SVCCATALOG_H
const PropertiesT * getProperties(const std::string &client) const
std::ostream & fillStream(std::ostream &o) const
dump the content of catalog to std::ostream
StatusCode addProperty(const std::string &client, const Property *property)
StatusCode removeProperty(const std::string &client, const std::string &name)
std::vector< std::string > getClients() const
const PropertiesT * findProperties(const std::string &client) const
This class is used for returning status codes from appropriate routines.
std::map< std::string, PropertiesT > m_catalog
Property base class allowing Property* collections to be "homogeneous".
std::vector< const Property * > PropertiesT
std::pair< bool, PropertiesT::iterator > findProperty(PropertiesT &props, const std::string &name)
std::ostream & operator<<(std::ostream &o, const SvcCatalog &c)
printoput operator