|
ETL_CONSTEXPR14 | bitset_ext (element_type *pbuffer_) ETL_NOEXCEPT |
| Default constructor.
|
|
ETL_CONSTEXPR14 | bitset_ext (buffer_type &buffer) ETL_NOEXCEPT |
| Default constructor.
|
|
ETL_CONSTEXPR14 | bitset_ext (const bitset_ext< Active_Bits, TElement, true > &other, element_type *pbuffer_) ETL_NOEXCEPT |
| Construct copy.
|
|
ETL_CONSTEXPR14 | bitset_ext (const bitset_ext< Active_Bits, TElement, true > &other, buffer_type &buffer) ETL_NOEXCEPT |
| Construct copy.
|
|
ETL_CONSTEXPR14 | bitset_ext (const bitset_ext< Active_Bits, TElement, true > &other) ETL_NOEXCEPT ETL_DELETE |
| Copy Constructor (Deleted).
|
|
ETL_CONSTEXPR14 | bitset_ext (unsigned long long value, element_type *pbuffer_) ETL_NOEXCEPT |
| Construct from a value.
|
|
ETL_CONSTEXPR14 | bitset_ext (unsigned long long value, buffer_type &buffer) ETL_NOEXCEPT |
| Construct from a value.
|
|
ETL_CONSTEXPR14 | bitset_ext (const char *text, element_type *pbuffer_) ETL_NOEXCEPT |
| Construct from a string.
|
|
ETL_CONSTEXPR14 | bitset_ext (const char *text, buffer_type &buffer) ETL_NOEXCEPT |
| Construct from a string.
|
|
ETL_CONSTEXPR14 | bitset_ext (const wchar_t *text, element_type *pbuffer_) ETL_NOEXCEPT |
| Construct from a string.
|
|
ETL_CONSTEXPR14 | bitset_ext (const wchar_t *text, buffer_type &buffer) ETL_NOEXCEPT |
| Construct from a string.
|
|
ETL_CONSTEXPR14 | bitset_ext (const char16_t *text, element_type *pbuffer_) ETL_NOEXCEPT |
| Construct from a string.
|
|
ETL_CONSTEXPR14 | bitset_ext (const char16_t *text, buffer_type &buffer) ETL_NOEXCEPT |
| Construct from a string.
|
|
ETL_CONSTEXPR14 | bitset_ext (const char32_t *text, element_type *pbuffer_) ETL_NOEXCEPT |
| Construct from a string.
|
|
ETL_CONSTEXPR14 | bitset_ext (const char32_t *text, buffer_type &buffer) ETL_NOEXCEPT |
| Construct from a string.
|
|
ETL_CONSTEXPR14 bitset_ext & | operator= (const bitset_ext< Active_Bits, TElement, true > &other) ETL_NOEXCEPT |
| Assignment operator.
|
|
ETL_CONSTEXPR14 bitset_ext< Active_Bits, TElement, true > & | set () ETL_NOEXCEPT |
| Set all of the bits.
|
|
ETL_CONSTEXPR14 bitset_ext< Active_Bits, TElement, true > & | set (size_t position, bool value=true) |
| Set the bit at the position.
|
|
ETL_CONSTEXPR14 bitset_ext< Active_Bits, TElement, true > & | set (const char *text) ETL_NOEXCEPT |
| Set from a string.
|
|
ETL_CONSTEXPR14 bitset_ext< Active_Bits, TElement, true > & | set (const wchar_t *text) ETL_NOEXCEPT |
| Set from a string.
|
|
ETL_CONSTEXPR14 bitset_ext< Active_Bits, TElement, true > & | set (const char16_t *text) ETL_NOEXCEPT |
| Set from a string.
|
|
ETL_CONSTEXPR14 bitset_ext< Active_Bits, TElement, true > & | set (const char32_t *text) ETL_NOEXCEPT |
| Set from a string.
|
|
ETL_CONSTEXPR14 bitset_ext< Active_Bits, TElement, true > & | from_string (const char *text) ETL_NOEXCEPT |
| Set from a string.
|
|
ETL_CONSTEXPR14 bitset_ext< Active_Bits, TElement, true > & | from_string (const wchar_t *text) ETL_NOEXCEPT |
| Set from a wide string.
|
|
ETL_CONSTEXPR14 bitset_ext< Active_Bits, TElement, true > & | from_string (const char16_t *text) ETL_NOEXCEPT |
| Set from a u16 string.
|
|
ETL_CONSTEXPR14 bitset_ext< Active_Bits, TElement, true > & | from_string (const char32_t *text) ETL_NOEXCEPT |
| Set from a u32 string.
|
|
template<typename T > |
ETL_CONSTEXPR14 etl::enable_if< etl::is_integral< T >::value, T >::type | value () const ETL_NOEXCEPT |
| Get as an integral value.
|
|
ETL_CONSTEXPR14 unsigned long | to_ulong () const ETL_NOEXCEPT |
| Get as an unsigned long.
|
|
ETL_CONSTEXPR14 unsigned long long | to_ullong () const ETL_NOEXCEPT |
| Get as an unsigned long long.
|
|
ETL_CONSTEXPR14 bitset_ext< Active_Bits, TElement, true > & | reset () ETL_NOEXCEPT |
| Reset all of the bits.
|
|
ETL_CONSTEXPR14 bitset_ext< Active_Bits, TElement, true > & | reset (size_t position) |
| Reset the bit at the position.
|
|
ETL_CONSTEXPR14 bool | test (size_t position) const |
|
ETL_CONSTEXPR14 size_t | size () const ETL_NOEXCEPT |
| The number of bits in the bitset.
|
|
ETL_CONSTEXPR14 size_t | count () const ETL_NOEXCEPT |
| Count the number of bits set.
|
|
ETL_CONSTEXPR14 bool | all () const ETL_NOEXCEPT |
|
ETL_CONSTEXPR14 bool | all (element_type mask) const ETL_NOEXCEPT |
|
ETL_CONSTEXPR14 bool | none () const ETL_NOEXCEPT |
| Are none of the bits set?
|
|
ETL_CONSTEXPR14 bool | none (element_type mask) const ETL_NOEXCEPT |
| Are none of the bits set?
|
|
ETL_CONSTEXPR14 bool | any () const ETL_NOEXCEPT |
| Are any of the bits set?
|
|
ETL_CONSTEXPR14 bool | any (element_type mask) const ETL_NOEXCEPT |
| Are any of the bits set?
|
|
ETL_CONSTEXPR14 bitset_ext< Active_Bits, TElement, true > & | flip () ETL_NOEXCEPT |
| Flip all of the bits.
|
|
ETL_CONSTEXPR14 bitset_ext< Active_Bits, TElement, true > & | flip_bits (element_type mask=etl::integral_limits< element_type >::max) ETL_NOEXCEPT |
| Flip some of the bits.
|
|
ETL_CONSTEXPR14 bitset_ext< Active_Bits, TElement, true > & | flip (size_t position) |
| Flip the bit at the position.
|
|
ETL_CONSTEXPR14 bool | operator[] (size_t position) const ETL_NOEXCEPT |
| Read [] operator.
|
|
ETL_CONSTEXPR14 bit_reference | operator[] (size_t position) ETL_NOEXCEPT |
| Write [] operator.
|
|
template<typename TString > |
ETL_CONSTEXPR14 TString | to_string (typename TString::value_type zero=typename TString::value_type('0'), typename TString::value_type one=typename TString::value_type('1')) const |
| Returns a string representing the bitset.
|
|
ETL_CONSTEXPR14 size_t | find_first (bool state) const ETL_NOEXCEPT |
|
ETL_CONSTEXPR14 size_t | find_next (bool state, size_t position) const ETL_NOEXCEPT |
|
ETL_CONSTEXPR14 bitset_ext< Active_Bits, TElement, true > & | operator&= (const bitset_ext< Active_Bits, TElement, true > &other) ETL_NOEXCEPT |
| operator &=
|
|
ETL_CONSTEXPR14 bitset_ext< Active_Bits, TElement, true > & | operator|= (const bitset_ext< Active_Bits, TElement, true > &other) ETL_NOEXCEPT |
| operator |=
|
|
ETL_CONSTEXPR14 bitset_ext< Active_Bits, TElement, true > & | operator^= (const bitset_ext< Active_Bits, TElement, true > &other) ETL_NOEXCEPT |
| operator ^=
|
|
ETL_CONSTEXPR14 bitset_ext< Active_Bits, TElement, true > & | operator<<= (size_t shift) ETL_NOEXCEPT |
| operator <<=
|
|
ETL_CONSTEXPR14 bitset_ext< Active_Bits, TElement, true > & | operator>>= (size_t shift) ETL_NOEXCEPT |
| operator >>=
|
|
ETL_CONSTEXPR14 void | swap (etl::bitset_ext< Active_Bits, TElement, true > &other) ETL_NOEXCEPT |
| swap
|
|
ETL_CONSTEXPR14 span_type | span () ETL_NOEXCEPT |
|
ETL_CONSTEXPR14 const_span_type | span () const ETL_NOEXCEPT |
|
template<size_t Active_Bits, typename TElement>
class etl::bitset_ext< Active_Bits, TElement, true >
Specialisation that uses a single element if the element type is the same size as the number of active bits.