9 pset_(pset), services_(pset_->popVParameterSet(std::
string(
"services")).
release()) {
21 std::shared_ptr<ParameterSet>
26 std::shared_ptr<std::vector<ParameterSet> >
43 typedef std::vector<ParameterSet>::iterator Iter;
46 if (name == service) {
59 typedef std::vector<ParameterSet>::iterator Iter;
62 if (name == service) {
72 std::vector<std::string>
const& forcedServices) {
74 for(std::vector<std::string>::const_iterator
i = defaultServices.begin(), iEnd = defaultServices.end();
79 for(std::vector<std::string>::const_iterator
i = forcedServices.begin(), iEnd = forcedServices.end();
87 for (std::vector<ParameterSet>::const_iterator it =
services_->begin(), itEnd =
services_->end(); it != itEnd; ++it) {
std::shared_ptr< std::vector< ParameterSet > > getServicesPSets() const
get the descriptions of the services
void addDefaultService(std::string const &service)
add a service if it's not already there
std::shared_ptr< ParameterSet > pset_
void addServices(std::vector< std::string > const &defaultServices, std::vector< std::string > const &forcedServices=std::vector< std::string >())
add some default services and forced services
void addService(ParameterSet &pset)
void addParameter(std::string const &name, T const &value)
void addForcedService(std::string const &service)
add a service and replace it if it's already there
std::shared_ptr< ParameterSet > getProcessPSet() const
get the parameter set
ProcessDesc(std::shared_ptr< ParameterSet > pset)
std::shared_ptr< std::vector< ParameterSet > > services_