6 const T getThisParam(
const std::vector<std::vector<T>>&
params,
size_t index_outer,
size_t index_inner) {
7 if (index_outer >=
params.size())
8 throw std::out_of_range(
"Parameter with index " +
std::to_string(index_outer) +
" is out of range.");
10 throw std::out_of_range(
"Parameter with index " +
std::to_string(index_inner) +
" is out of range.");
11 return params[index_outer][index_inner];
16 if (index_outer >=
params.size())
17 throw std::out_of_range(
"Parameter with index " +
std::to_string(index_outer) +
" is out of range.");
22 const std::vector<T>& getAllParams(
const std::vector<std::vector<T>>&
params,
size_t index_outer) {
23 if (index_outer >=
params.size())
24 throw std::out_of_range(
"Parameter with index " +
std::to_string(index_outer) +
" is out of range.");
25 return params[index_outer];
static std::string to_string(const XMLCh *ch)
std::vector< int > getAllGeographicalIds() const
int getGeographicalId(int theIndex) const
std::vector< std::vector< int > > intParams_
void setGeographicalId(int geographicalId)