src/Generic/common/ParamReader.cpp
// Check that all prefix parameters were consumed with a matching list parameter

Check that all prefix parameters were consumed with a matching list parameter
Check that all prefix parameters were consumed with a matching list parameter
BOOST_FOREACH(HashTable::value_type prefix, prefix_list) {
		if (!hasParam(prefix.first)) {
			std::ostringstream err;
			err << "In " << param_file << ": prefix parameter " << prefix.first
				<< " has no matching list parameter";
			throw UnexpectedInputException("ParamReader::readParamFile()", err.str().c_str());
		}
	}
BOOST_FOREACH ( HashTable :: value_type prefix , prefix_list ) { if ( ! hasParam ( prefix . first ) ) { std :: ostringstream err ; err << " " << param_file << " " << prefix . first << " " ; throw UnexpectedInputException ( " " , err . str ( ) . c_str ( ) ) ; } }
Check that all prefix parameters were consumed with a matching list parameter
Check that all prefix parameters were consumed with a matching list parameter