Toolbox snapshot
The Reactive C++ Toolbox
|
#include <toolbox/util/Tokeniser.hpp>
Public Member Functions | |
constexpr | Tokeniser (std::string_view buf, std::string_view delims) noexcept |
constexpr | Tokeniser () noexcept |
constexpr | ~Tokeniser ()=default |
constexpr | Tokeniser (const Tokeniser &) noexcept=default |
constexpr Tokeniser & | operator= (const Tokeniser &) noexcept=default |
constexpr | Tokeniser (Tokeniser &&) noexcept=default |
constexpr Tokeniser & | operator= (Tokeniser &&) noexcept=default |
constexpr void | reset (std::string_view buf, std::string_view delims) noexcept |
constexpr std::size_t | consumed () const noexcept |
Returns total bytes consumed. | |
constexpr bool | empty () const noexcept |
Returns true if all bytes have been consumed. | |
constexpr bool | has_delim () const noexcept |
Returns true if a delimiter was found in the remaining data. | |
constexpr std::string_view | top () const noexcept |
constexpr std::string_view | next () noexcept |
constexpr void | pop () noexcept |
Definition at line 28 of file Tokeniser.hpp.
|
inlineconstexprnoexcept |
Definition at line 30 of file Tokeniser.hpp.
|
inlineconstexprnoexcept |
Definition at line 34 of file Tokeniser.hpp.
|
constexprdefault |
|
constexprdefaultnoexcept |
|
inlineconstexprnoexcept |
Definition at line 45 of file Tokeniser.hpp.
Referenced by Tokeniser(), and Tokeniser().
|
inlineconstexprnoexcept |
Returns total bytes consumed.
Definition at line 53 of file Tokeniser.hpp.
Returns true if all bytes have been consumed.
Definition at line 55 of file Tokeniser.hpp.
Returns true if a delimiter was found in the remaining data.
Definition at line 57 of file Tokeniser.hpp.
|
inlineconstexprnoexcept |
Definition at line 58 of file Tokeniser.hpp.
Referenced by next().
|
inlineconstexprnoexcept |
Definition at line 62 of file Tokeniser.hpp.
Definition at line 68 of file Tokeniser.hpp.
Referenced by next().