libpqxx
7.7.3
|
A range boundary value. More...
#include <range.hxx>
Public Member Functions | |
range_bound ()=delete | |
range_bound (no_bound) | |
range_bound (inclusive_bound< TYPE > const &bound) | |
range_bound (exclusive_bound< TYPE > const &bound) | |
range_bound (range_bound const &)=default | |
range_bound (range_bound &&)=default | |
bool | operator== (range_bound const &rhs) const |
bool | operator!= (range_bound const &rhs) const |
range_bound & | operator= (range_bound const &)=default |
range_bound & | operator= (range_bound &&)=default |
constexpr bool | is_limited () const noexcept |
Is this a finite bound? More... | |
constexpr bool | is_inclusive () const noexcept |
Is this boundary an inclusive one? More... | |
constexpr bool | is_exclusive () const noexcept |
Is this boundary an exclusive one? More... | |
bool | extends_down_to (TYPE const &value) const |
Would this bound, as a lower bound, include value ? More... | |
bool | extends_up_to (TYPE const &value) const |
Would this bound, as an upper bound, include value ? More... | |
constexpr TYPE const * | value () const &noexcept |
Return bound value, or nullptr if it's not limited. More... | |
A range boundary value.
A range bound is either no bound at all; or an inclusive bound; or an exclusive bound. Pass one of the three to the constructor.
|
delete |
pqxx::range_bound< TYPE >::range_bound | ( | no_bound | ) |
pqxx::range_bound< TYPE >::range_bound | ( | inclusive_bound< TYPE > const & | bound | ) |
pqxx::range_bound< TYPE >::range_bound | ( | exclusive_bound< TYPE > const & | bound | ) |
|
default |
|
default |
bool pqxx::range_bound< TYPE >::extends_down_to | ( | TYPE const & | value | ) | const |
Would this bound, as a lower bound, include value
?
bool pqxx::range_bound< TYPE >::extends_up_to | ( | TYPE const & | value | ) | const |
Would this bound, as an upper bound, include value
?
|
noexcept |
Is this boundary an exclusive one?
|
noexcept |
Is this boundary an inclusive one?
Referenced by pqxx::range_bound< TYPE >::operator==().
|
noexcept |
Is this a finite bound?
Referenced by pqxx::range_bound< TYPE >::operator==().
bool pqxx::range_bound< TYPE >::operator!= | ( | range_bound< TYPE > const & | rhs | ) | const |
|
default |
|
default |
bool pqxx::range_bound< TYPE >::operator== | ( | range_bound< TYPE > const & | rhs | ) | const |
|
noexcept |
Return bound value, or nullptr
if it's not limited.
Referenced by pqxx::range_bound< TYPE >::operator==().