bux API Reference 1.9.0
Static library of whatever are seen required in general purpose but not directly supported from Modern C++. Or whatever reusable originated from my side projects.
|
#include <Intervals.h>
Public Types | |
typedef std::pair< T, T > | value_type |
typedef std::vector< value_type >::const_iterator | const_iterator |
Public Member Functions | |
C_Intervals () | |
C_Intervals (const C_Intervals &other) | |
C_Intervals (C_Intervals &&other) | |
C_Intervals (T id) | |
C_Intervals (value_type i) | |
C_Intervals (T start, T end) | |
template<std::input_iterator I> requires std::same_as<char, std::remove_cvref_t<decltype(*start)>> | |
C_Intervals (I start, I end) | |
template<std::input_iterator I> requires std::same_as<value_type, std::remove_cvref_t<decltype(*start)>> || ( !std::same_as<char,std::remove_cvref_t<decltype(*start)>> && std::integral<std::remove_cvref_t<decltype(*start)>> && std::cmp_less_equal(std::numeric_limits<T>::min(), std::numeric_limits<std::remove_cvref_t<decltype(*start)>>::min()) && std::cmp_less_equal(std::numeric_limits<std::remove_cvref_t<decltype(*start)>>::max(), std::numeric_limits<T>::max()) ) | |
C_Intervals (I start, I end) | |
void | operator= (const C_Intervals &other) |
void | operator= (C_Intervals &&other) |
void | operator|= (const C_Intervals &other) |
void | operator&= (const C_Intervals &other) |
void | operator-= (const C_Intervals &other) |
bool | operator== (const C_Intervals &other) const |
const_iterator | begin () const |
const_iterator | end () const |
bool | empty () const |
size_t | size () const |
void | complement () |
void | swap (C_Intervals &other) |
Definition at line 20 of file Intervals.h.
std::vector<value_type>::const_iterator bux::C_Intervals< T >::const_iterator |
Definition at line 26 of file Intervals.h.
std::pair<T,T> bux::C_Intervals< T >::value_type |
Definition at line 25 of file Intervals.h.
|
inline |
Definition at line 29 of file Intervals.h.
|
inline |
Definition at line 30 of file Intervals.h.
|
inline |
Definition at line 31 of file Intervals.h.
References bux::C_Intervals< T >::swap().
bux::C_Intervals< T >::C_Intervals | ( | T | id | ) |
Definition at line 102 of file Intervals.h.
bux::C_Intervals< T >::C_Intervals | ( | value_type | i | ) |
Definition at line 108 of file Intervals.h.
References RUNTIME_ERROR.
|
inline |
Definition at line 34 of file Intervals.h.
|
inline |
Definition at line 36 of file Intervals.h.
References bux::C_Intervals< T >::end(), and bux::C_Intervals< T >::operator|=().
|
inline |
Definition at line 42 of file Intervals.h.
References bux::C_Intervals< T >::end(), and bux::C_Intervals< T >::operator|=().
|
inline |
Definition at line 64 of file Intervals.h.
void bux::C_Intervals< T >::complement | ( | ) |
Definition at line 276 of file Intervals.h.
|
inline |
Definition at line 66 of file Intervals.h.
|
inline |
Definition at line 65 of file Intervals.h.
Referenced by bux::C_Intervals< T >::C_Intervals().
void bux::C_Intervals< T >::operator&= | ( | const C_Intervals< T > & | other | ) |
Definition at line 195 of file Intervals.h.
void bux::C_Intervals< T >::operator-= | ( | const C_Intervals< T > & | other | ) |
Definition at line 228 of file Intervals.h.
|
inline |
Definition at line 57 of file Intervals.h.
References bux::C_Intervals< T >::swap().
|
inline |
Definition at line 56 of file Intervals.h.
|
inline |
Definition at line 61 of file Intervals.h.
void bux::C_Intervals< T >::operator|= | ( | const C_Intervals< T > & | other | ) |
Definition at line 117 of file Intervals.h.
Referenced by bux::C_Intervals< T >::C_Intervals().
|
inline |
Definition at line 67 of file Intervals.h.
|
inline |
Definition at line 71 of file Intervals.h.
Referenced by bux::C_Intervals< T >::C_Intervals(), and bux::C_Intervals< T >::operator=().