26 replace.insert(std::make_pair(fromPrefix + from + fromPostfix, toPrefix +
to + toPostfix));
32 parameterSet_(psetString),
33 paths_(parameterSet_.getParameter<
StringVector>(
"@paths")),
39 for (StringVector::const_iterator
i =
paths_.begin(),
e =
paths_.end();
i !=
e; ++
i) {
49 : parameterSet_(
pset), tPaths_(parameterSet_.getParameter<
StringVector>(
"@trigger_paths")), triggerPaths_() {
61 bool alreadyByReference)
62 : parameterSets_(), mainParameterSets_(), triggerPaths_(), replace_(), parameterSetIdConverter_(idConverter) {
63 for (ParameterSetMap::const_iterator
i = psetMap.begin(), iEnd = psetMap.end();
i != iEnd; ++
i) {
66 if (alreadyByReference) {
76 if (
i->triggerPaths_ ==
j->triggerPaths_) {
77 j->parameterSet_.addParameter(
"@trigger_paths",
i->parameterSet_);
98 if (
i->first.find(
"@all_sources") != std::string::npos) {
102 pset.setID(
i->second);
104 if (
i->first.find(
"@trigger_paths") != std::string::npos) {
119 bool doItAgain =
false;
123 it =
i->first.find(
j->first)) {
124 i->first.replace(it,
j->first.size(),
j->second);
130 if (
i->first.find(
"+P") == std::string::npos &&
i->first.find(
"+p") == std::string::npos) {
131 if (
i->first.find(
"@all_sources") != std::string::npos) {
140 insertIntoReplace(
replace_, loldparam, from, rparam, lparam,
to, rparam);
144 insertIntoReplace(
replace_, loldvparam, from, rvparam, lvparam,
to, rvparam);
148 if (
i->first.find(
"@trigger_paths") != std::string::npos) {
152 StringWithIDList::iterator icopy =
i;
161 std::list<std::string>
pieces;
162 split(std::back_inserter(
pieces),
k.first,
'<',
';',
'>');
163 for (std::list<std::string>::iterator
i =
pieces.begin(),
e =
pieces.end();
i !=
e; ++
i) {
165 if (removeName.size() >= 4) {
166 if (removeName[1] ==
'P') {
167 std::string psetString(removeName.begin() + 3, removeName.end() - 1);
170 }
else if (removeName[1] ==
'p') {
173 split(std::back_inserter(
temp), pvec,
'{',
',',
'}');
174 for (StringList::const_iterator
j =
temp.begin(),
f =
temp.end();
j !=
f; ++
j) {