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];
std::vector< int > allBigPixelsYs() const
int bigPixelsY(int theIndex) const
std::vector< int > allBigPixelsXs() const
static std::string to_string(const XMLCh *ch)
void setBigPixelsY(int bigPixelsY)
float bigPixelsPitchX(int theIndex) const
int bigPixelsX(int theIndex) const
std::vector< int > getAllGeographicalIds() const
std::vector< float > allBigPixelsPitchXs() const
int getGeographicalId(int theIndex) const
std::vector< std::vector< int > > intParams_
void setBigPixelsPitchX(float bigPixelsPitchX)
float bigPixelsPitchY(int theIndex) const
std::vector< float > allBigPixelsPitchYs() const
void setGeographicalId(int geographicalId)
void setBigPixelsX(int bigPixelsX)
std::vector< std::vector< float > > floatParams_
void setBigPixelsPitchY(float bigPixelsPitchY)