uTL
micro Template library
|
A standard container for storing IDs as a fixed size sequence of bytes. This type is based on etl::array Meets the requirements of: container, reversible container, sequence. Sets support random access iterators. More...
#include <id.h>
Public Types | |
using | value_type = _Tp |
using | pointer = value_type * |
using | const_pointer = const value_type * |
using | reference = value_type & |
using | const_reference = const value_type & |
using | iterator = value_type * |
using | const_iterator = const value_type * |
using | size_type = size_t |
using | difference_type = std::ptrdiff_t |
using | reverse_iterator = std::reverse_iterator< iterator > |
using | const_reverse_iterator = std::reverse_iterator< const_iterator > |
using | traits_t = id_traits< _Tp, _Nm > |
Public Member Functions | |
void | fill (const value_type &v) |
void | swap (id_t &other) noexcept |
Iterators. | |
iterator | begin () noexcept |
const_iterator | begin () const noexcept |
iterator | end () noexcept |
const_iterator | end () const noexcept |
const_iterator | cbegin () const noexcept |
const_iterator | cend () const noexcept |
reverse_iterator | rbegin () noexcept |
reverse_iterator | rend () noexcept |
const_reverse_iterator | rbegin () const noexcept |
const_reverse_iterator | rend () const noexcept |
const_reverse_iterator | crbegin () const noexcept |
const_reverse_iterator | crend () const noexcept |
Capacity. | |
constexpr size_type | size () const noexcept |
constexpr size_type | max_size () const noexcept |
constexpr bool | empty () const noexcept |
Element access. | |
reference | operator[] (size_type n) noexcept |
Operator []. More... | |
constexpr const_reference | operator[] (size_type n) const noexcept |
Operator [] for const. More... | |
reference | at (size_type n) noexcept |
constexpr const_reference | at (size_type n) const noexcept |
Compile time boundary check dereference operator. More... | |
constexpr bool | bit (uint8_t bit) const noexcept |
void | bit (uint8_t bit, bool v) noexcept |
reference | front () noexcept |
constexpr const_reference | front () const noexcept |
reference | back () noexcept |
constexpr const_reference | back () const noexcept |
pointer | data () noexcept |
const_pointer | data () const noexcept |
Public Attributes | |
traits_t::type | _data |
A standard container for storing IDs as a fixed size sequence of bytes. This type is based on etl::array Meets the requirements of: container, reversible container, sequence. Sets support random access iterators.
_Tp | The base type |
_Nm | Number of bytes. |
using utl::id_t< _Tp, _Nm >::const_iterator = const value_type* |
using utl::id_t< _Tp, _Nm >::const_pointer = const value_type* |
using utl::id_t< _Tp, _Nm >::const_reference = const value_type& |
using utl::id_t< _Tp, _Nm >::const_reverse_iterator = std::reverse_iterator <const_iterator> |
using utl::id_t< _Tp, _Nm >::difference_type = std::ptrdiff_t |
using utl::id_t< _Tp, _Nm >::iterator = value_type* |
using utl::id_t< _Tp, _Nm >::pointer = value_type* |
using utl::id_t< _Tp, _Nm >::reference = value_type& |
using utl::id_t< _Tp, _Nm >::reverse_iterator = std::reverse_iterator <iterator> |
using utl::id_t< _Tp, _Nm >::value_type = _Tp |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
traits_t::type utl::id_t< _Tp, _Nm >::_data |