![]() |
SourcePP
Several modern C++20 libraries for sanely parsing Valve's formats.
|
#include <Text.h>

Public Member Functions | |
| const std::vector< std::string_view > & | getTokens () const |
| uint64_t | size () const |
| uint64_t | tell () const |
| void | seek (uint64_t head_) |
| std::string_view | next () |
| template<typename T> requires std::same_as<T, bool> || std::integral<T> || std::floating_point<T> | |
| bool | next (T &value) |
| std::string_view | peek () const |
| template<typename T> requires std::same_as<T, bool> || std::integral<T> || std::floating_point<T> | |
| bool | peek (T &value) |
| void | skip () |
Protected Member Functions | |
| Result ()=default | |
Protected Attributes | |
| std::vector< std::string_view > | tokens |
| uint64_t | head = 0 |
|
protecteddefault |
|
nodiscard |
|
nodiscard |
|
inline |
|
nodiscard |
|
inline |
| void parser::text::Tokenizer::Result::seek | ( | uint64_t | head_ | ) |
|
nodiscard |
|
nodiscard |
|
protected |
|
protected |