const char MEDCalculatorDBRangeSelection::ALL_ELTS[]=":";
-MEDCalculatorDBRangeSelection::MEDCalculatorDBRangeSelection(const char *v) throw(INTERP_KERNEL::Exception)
+MEDCalculatorDBRangeSelection::MEDCalculatorDBRangeSelection(const char *v)
try
{
setValue(v);
_end=TraducePyVal(val);
}
-std::vector<std::size_t> MEDCalculatorDBRangeSelection::getIds(int lgth) const throw(INTERP_KERNEL::Exception)
+std::vector<std::size_t> MEDCalculatorDBRangeSelection::getIds(int lgth) const
{
if(_start>=lgth || _start<0)
{
return ret;
}
-int MEDCalculatorDBRangeSelection::getSize(int lgth) const throw(INTERP_KERNEL::Exception)
+int MEDCalculatorDBRangeSelection::getSize(int lgth) const
{
return getIds(lgth).size();
}
_end=std::numeric_limits<int>::max();
}
-MEDCalculatorDBRangeSelection& MEDCalculatorDBRangeSelection::operator=(const char *v) throw(INTERP_KERNEL::Exception)
+MEDCalculatorDBRangeSelection& MEDCalculatorDBRangeSelection::operator=(const char *v)
{
setValue(v);
return *this;
}
-MEDCalculatorDBRangeSelection& MEDCalculatorDBRangeSelection::operator=(int v) throw(INTERP_KERNEL::Exception)
+MEDCalculatorDBRangeSelection& MEDCalculatorDBRangeSelection::operator=(int v)
{
setValue(v);
return *this;
}
-void MEDCalculatorDBRangeSelection::setValue(const char *v) throw(INTERP_KERNEL::Exception)
+void MEDCalculatorDBRangeSelection::setValue(const char *v)
{
try
{
}
}
-void MEDCalculatorDBRangeSelection::setValue(int v) throw(INTERP_KERNEL::Exception)
+void MEDCalculatorDBRangeSelection::setValue(int v)
{
_start=v;
_end=v+1;