Dependency::ConstParameterEntryList ParameterCondition::getAllParameters() const { Dependency::ConstParameterEntryList toReturn; toReturn.insert(getParameter()); return toReturn; }
Dependency::ConstParameterEntryList BoolLogicCondition::getAllParameters() const{ Dependency::ConstParameterEntryList toReturn; Dependency::ConstParameterEntryList currentList; for( ConstConditionList::const_iterator it = conditions_.begin(); it != conditions_.end(); ++it) { currentList = (*it)->getAllParameters(); toReturn.insert(currentList.begin(), currentList.end()); } return toReturn; }