|
constexpr sbe_size_type | sbe_size () const noexcept |
| Returns header's numInGroup
|
|
constexpr size_type | size () const noexcept |
| Returns raw size.
|
|
constexpr void | resize (const size_type count) const noexcept |
| Sets numInGroup to count
|
|
constexpr bool | empty () const noexcept |
| Checks if size() == 0
|
|
constexpr iterator | begin () const noexcept |
| Returns an iterator to the beginning.
|
|
constexpr iterator | end () const noexcept |
| Returns an iterator to the end.
|
|
constexpr reference | front () const noexcept |
| Returns the first element.
|
|
constexpr void | clear () const noexcept |
| Resizes to 0
|
|
template<typename Byte2 , typename = enable_if_cursor_compatible_t<Byte, Byte2>> |
constexpr cursor_range_t< Byte2 > | cursor_range (cursor< Byte2 > &c) const noexcept |
| Returns cursor range to all group entries.
|
|
template<typename Byte2 , typename = enable_if_cursor_compatible_t<Byte, Byte2>> |
constexpr cursor_range_t< Byte2 > | cursor_subrange (cursor< Byte2 > &c, const size_type pos) const noexcept |
| Returns cursor range to [pos; size()) entries.
|
|
template<typename Byte2 , typename = enable_if_cursor_compatible_t<Byte, Byte2>> |
constexpr cursor_range_t< Byte2 > | cursor_subrange (cursor< Byte2 > &c, const size_type pos, const size_type count) const noexcept |
| Returns cursor range to [pos; pos+count) entries.
|
|
template<typename Byte2 , typename = enable_if_cursor_compatible_t<Byte, Byte2>> |
constexpr cursor_iterator< Byte2 > | cursor_begin (cursor< Byte2 > &c) const noexcept |
| Returns cursor iterator to the beginning.
|
|
template<typename Byte2 , typename = enable_if_cursor_compatible_t<Byte, Byte2>> |
constexpr cursor_iterator< Byte2 > | cursor_end (cursor< Byte2 > &c) const noexcept |
| Returns cursor iterator to the end.
|
|
| byte_range ()=default |
| Initializes to nullptr
|
|
constexpr | byte_range (Byte *begin, Byte *end) noexcept |
| Constructs from a pair of pointers.
|
|
constexpr | byte_range (Byte *ptr, const std::size_t size) noexcept |
| Constructs from pointer and size.
|
|
template<typename Byte2 , typename = enable_if_convertible_t<Byte2, Byte>> |
constexpr | byte_range (const byte_range< Byte2 > &other) noexcept |
| Copy constructor. Available if Byte2* is convertible to Byte*
|
|
template<typename Byte, typename Entry, typename Dimension>
class sbepp::detail::nested_group_base< Byte, Entry, Dimension >
Base class for a nested group.