#include <nullvalues.hh>
|
| | r_Nullvalues ()=default |
| |
| | r_Nullvalues (std::vector< std::pair< r_Double, r_Double >> &&nullvaluesArg) |
| |
| const std::vector< std::pair< r_Double, r_Double > > & | getNullvalues () const |
| |
| template<typename T > |
| bool | isNullNonFloat (const T value) const |
| | check whether a value is in an interval (hence a null value) More...
|
| |
| template<typename T > |
| bool | isNullFloat (const T value) const |
| | check whether a value is in an interval (hence a null value) TODO: this needs to be improved, performance and scope More...
|
| |
| double | getFirstNullValue () const |
| | if the null set contains any non-interval null values, then the first such null value is returned, otherwise the first interval bound which is not '*' is returned; useful in cases where a single nodata value is needed, e.g. More...
|
| |
| std::string | toString () const |
| |
◆ r_Nullvalues() [1/2]
| r_Nullvalues::r_Nullvalues |
( |
| ) |
|
|
default |
◆ r_Nullvalues() [2/2]
| r_Nullvalues::r_Nullvalues |
( |
std::vector< std::pair< r_Double, r_Double >> && |
nullvaluesArg | ) |
|
|
explicit |
◆ getFirstNullValue()
| double r_Nullvalues::getFirstNullValue |
( |
| ) |
const |
if the null set contains any non-interval null values, then the first such null value is returned, otherwise the first interval bound which is not '*' is returned; useful in cases where a single nodata value is needed, e.g.
when encoding the data
◆ getNullvalues()
| const std::vector<std::pair<r_Double, r_Double> >& r_Nullvalues::getNullvalues |
( |
| ) |
const |
|
inline |
◆ isNullFloat()
template<typename T >
| bool r_Nullvalues::isNullFloat |
( |
const T |
value | ) |
const |
|
inline |
check whether a value is in an interval (hence a null value) TODO: this needs to be improved, performance and scope
References nullvalues.
◆ isNullNonFloat()
template<typename T >
| bool r_Nullvalues::isNullNonFloat |
( |
const T |
value | ) |
const |
|
inline |
check whether a value is in an interval (hence a null value)
References nullvalues.
◆ toString()
| std::string r_Nullvalues::toString |
( |
| ) |
const |
◆ nullvalues
◆ unlimitedHigh
| const double_t r_Nullvalues::unlimitedHigh |
|
static |
the * in lo:*, it is the maximum double number
◆ unlimitedLow
| const double_t r_Nullvalues::unlimitedLow |
|
static |
the * in *:hi, it is the smallest double number
The documentation for this class was generated from the following file: