sbepp
|
Contains cursor wrappers which allow more precise control over its position. More...
Functions | |
template<typename Byte > | |
constexpr detail::init_cursor_wrapper< Byte > | init (cursor< Byte > &c) noexcept |
Returns a wrapper which will initialize the cursor when it's used and advance after the usage. | |
template<typename Byte > | |
constexpr detail::dont_move_cursor_wrapper< Byte > | dont_move (cursor< Byte > &c) noexcept |
Returns a wrapper which doesn't advance the cursor when it's used. | |
template<typename Byte > | |
constexpr detail::init_dont_move_cursor_wrapper< Byte > | init_dont_move (cursor< Byte > &c) noexcept |
Returns a wrapper which initializes the cursor but doesn't move it. Behaves like a combination of init() and dont_move() . | |
template<typename Byte > | |
constexpr detail::skip_cursor_wrapper< Byte > | skip (cursor< Byte > &c) noexcept |
Returns a wrapper which moves the cursor to the end of field/group/data without returning the accessed value. | |
Contains cursor wrappers which allow more precise control over its position.
|
constexprnoexcept |
Returns a wrapper which doesn't advance the cursor when it's used.
Allows to access field/group/data more than once using cursor API. Useful to read and write the same field or to write data
member. Example:
c | original cursor |
|
constexprnoexcept |
Returns a wrapper which will initialize the cursor when it's used and advance after the usage.
Allows to start using cursor API from any field/group/data. Example:
c | original cursor |
|
constexprnoexcept |
Returns a wrapper which initializes the cursor but doesn't move it. Behaves like a combination of init()
and dont_move()
.
c | original cursor |
|
constexprnoexcept |
Returns a wrapper which moves the cursor to the end of field/group/data without returning the accessed value.
Allows to skip uninteresting members. Example:
c | original cursor |