libpqxx
7.8.1
|
A range boundary value. More...
#include <range.hxx>
Public Member Functions | |
range_bound ()=delete | |
constexpr | range_bound (no_bound) noexcept |
constexpr | range_bound (inclusive_bound< TYPE > const &bound) noexcept( noexcept(inclusive_bound< TYPE >{bound})) |
constexpr | range_bound (exclusive_bound< TYPE > const &bound) noexcept( noexcept(exclusive_bound{bound})) |
constexpr | range_bound (range_bound const &) noexcept( noexcept(inclusive_bound< TYPE >{ std::declval< inclusive_bound< TYPE > const & >()}) and noexcept(exclusive_bound< TYPE >{ std::declval< exclusive_bound< TYPE > const & >()}))=default |
constexpr | range_bound (range_bound &&)=default |
constexpr bool | operator== (range_bound const &rhs) const noexcept(noexcept(*this->value()==*rhs.value())) |
constexpr bool | operator!= (range_bound const &rhs) const noexcept(noexcept(*this==rhs)) |
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... | |
constexpr bool | extends_down_to (TYPE const &value) const |
Would this bound, as a lower bound, include value ? More... | |
constexpr 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 |
|
noexcept |
|
noexcept |
|
noexcept |
|
defaultnoexcept |
|
default |
constexpr bool pqxx::range_bound< TYPE >::extends_down_to | ( | TYPE const & | value | ) | const |
Would this bound, as a lower bound, include value
?
Referenced by pqxx::range< TYPE >::contains().
constexpr bool pqxx::range_bound< TYPE >::extends_up_to | ( | TYPE const & | value | ) | const |
Would this bound, as an upper bound, include value
?
Referenced by pqxx::range< TYPE >::contains().
|
noexcept |
Is this boundary an exclusive one?
Referenced by pqxx::range< TYPE >::empty(), and pqxx::range< TYPE >::operator range< DEST >().
|
noexcept |
Is this boundary an inclusive one?
Referenced by pqxx::range< TYPE >::operator range< DEST >(), and pqxx::range_bound< TYPE >::operator==().
|
noexcept |
Is this a finite bound?
Referenced by pqxx::range< TYPE >::empty(), pqxx::range< TYPE >::operator&(), and pqxx::range_bound< TYPE >::operator==().
|
noexcept |
|
default |
|
default |
|
noexcept |
|
noexcept |
Return bound value, or nullptr
if it's not limited.
Referenced by pqxx::range< TYPE >::contains(), pqxx::range< TYPE >::empty(), pqxx::range< TYPE >::operator&(), pqxx::range_bound< TYPE >::operator==(), and pqxx::string_traits< range< TYPE > >::size_buffer().