A strong type that represents the number of bits for each bin in the seqan3::interleaved_bloom_filter. More...
#include <seqan3/search/dream_index/interleaved_bloom_filter.hpp>
Public Types | |
using | value_type = size_t |
The underlying value type. | |
Public Member Functions | |
Accessor. | |
constexpr size_t & | get () &noexcept |
Returns the underlying value. | |
constexpr size_t const & | get () const &noexcept |
Returns the underlying value. | |
constexpr size_t && | get () &&noexcept |
Returns the underlying value as rvalue. | |
constexpr size_t const && | get () const &&noexcept |
Returns the underlying value as rvalue. | |
Arithmetic additive operators. | |
Only available if the corresponding skills from seqan3::detail::strong_type_skill are added and the underlying type supports this operation. | |
constexpr bin_size | operator+ (strong_type const &other) |
Adds addition operator to the strong type. | |
constexpr bin_size | operator- (strong_type const &other) |
Adds subtraction operator to the strong type. | |
Arithmetic multiplicative operators. | |
Only available if the corresponding skills from seqan3::detail::strong_type_skill are added and the underlying type supports this operation. | |
constexpr bin_size | operator* (strong_type const &other) |
Adds multiplication operator to the strong type. | |
constexpr bin_size | operator/ (strong_type const &other) |
Adds division operator to the strong type. | |
constexpr bin_size | operator% (strong_type const &other) |
Adds modulo operator to the strong type. | |
Bitwise logic operators. | |
Only available if the corresponding skills from seqan3::detail::strong_type_skill are added and the underlying type supports this operation. | |
constexpr bin_size | operator& (strong_type const &other) |
Adds bitwise and operator to the strong type. | |
constexpr bin_size | operator| (strong_type const &other) |
Adds bitwise or operator to the strong type. | |
constexpr bin_size | operator^ (strong_type const &other) |
Adds bitwise xor operator to the strong type. | |
constexpr bin_size | operator~ () |
Adds bitwise not operator to the strong type. | |
Bitwise shift operators. | |
Only available if the corresponding skills from seqan3::detail::strong_type_skill are added and the underlying type supports this operation. | |
constexpr bin_size | operator<< (strong_type const &other) |
Adds bitwise left shift operator to the strong type. | |
constexpr bin_size | operator<< (integral_t const shift) |
Adds bitwise left shift operator to the strong type. | |
constexpr bin_size | operator>> (strong_type const &other) |
Adds bitwise right shift operator to the strong type. | |
constexpr bin_size | operator>> (integral_t const shift) |
Adds bitwise right shift operator to the strong type. | |
Logical operators. | |
Only available if the corresponding skills from seqan3::detail::strong_type_skill are added and the underlying type supports this operation. | |
constexpr bool | operator&& (strong_type const &other) |
Adds logical and operator to the strong type. | |
constexpr bool | operator|| (strong_type const &other) |
Adds logical or operator to the strong type. | |
constexpr bool | operator! () |
Adds logical not operator to the strong type. | |
Increment and decrement operators. | |
Only available if the corresponding skills from seqan3::detail::strong_type_skill are added and the underlying type supports this operation. | |
constexpr bin_size & | operator++ () |
Adds pre-increment operator to the strong type. | |
constexpr bin_size | operator++ (int) |
Adds post-increment operator to the strong type. | |
constexpr bin_size & | operator-- () |
Adds pre-decrement operator to the strong type. | |
constexpr bin_size | operator-- (int) |
Adds post-decrement operator to the strong type. | |
Comparison operators | |
Only available if the corresponding skill from seqan3::detail::strong_type_skill is added. Implemented as member functions because requires does not work on friends. | |
constexpr bool | operator== (strong_type const &rhs) const |
Return whether this instance is equal to rhs . | |
constexpr bool | operator!= (strong_type const &rhs) const |
Return whether this instance is not equal to rhs . | |
Conversion operators. | |
Only available if the corresponding skill from seqan3::detail::strong_type_skill is added. | |
constexpr | operator size_t () const |
Adds explicit conversion to it's underlying type. | |
Static Public Attributes | |
static constexpr strong_type_skill | skills |
The selected skills for this type. | |
Private Attributes | |
size_t | value |
The underlying value, which is wrapped as a strong type. | |
Related Functions | |
(Note that these are not member functions.) | |
Formatted output | |
debug_stream_type< char_t > & | operator<< (debug_stream_type< char_t > &stream, strong_type_t &&value) |
Formatted output to a seqan3::detail::debug_stream_type. More... | |
A strong type that represents the number of bits for each bin in the seqan3::interleaved_bloom_filter.
|
related |
Formatted output to a seqan3::detail::debug_stream_type.
char_t | The char type of the seqan3::detail::debug_stream_type. |
strong_type_t | The strong type to print; must model seqan3::detail::derived_from_strong_type. |
[in,out] | stream | The output stream. |
[in] | value | The strong typed value to print. |
Prints the stored value of the given strong type.
stream_t &
A reference to the given stream.