template<tracking_mode P = tracking_mode::IMMEDIATE, typename Eol = eol::lf_crlf, typename Source = std:: string>
memory_input class
Contents
Base classes
-
template<tracking_mode, typename Eol, typename Source>class memory_input_base
Public types
- using eol_t = Eol
- using source_t = Source
-
using action_t = internal::
action_input<memory_ input>
Public static variables
- static tracking_mode tracking_mode_v constexpr
Constructors, destructors, conversion operators
-
template<typename T>memory_input(const char* in_begin, const std::
size_t in_size, T&& in_source) noexcept(…) -
template<typename T>memory_input(const std::
string& in_string, T&& in_source) noexcept(…) -
template<typename T>memory_input(std::
string&&, T&&) deleted -
template<typename T>memory_input(const char* in_begin, T&& in_source) noexcept(…)
-
template<typename T>memory_input(const char* in_begin, const char* in_end, T&& in_source, const std::
size_t in_byte, const std:: size_t in_line, const std:: size_t in_byte_in_line) noexcept(…) -
memory_input(const memory_
input&) deleted -
memory_input(memory_
input&&) deleted - ~memory_input() defaulted
Public functions
-
auto operator=(const memory_
input&) -> memory_ input deleted -
auto operator=(memory_
input&&) -> memory_ input deleted - auto source() const -> const Source& noexcept
- auto empty() const -> bool noexcept
-
auto size(const std::
size_t = 0) const -> std:: size_t noexcept -
auto peek_char(const std::
size_t offset = 0) const -> char noexcept -
auto peek_byte(const std::
size_t offset = 0) const -> unsigned char noexcept - auto iterator() -> iterator_t& noexcept
- auto iterator() const -> const iterator_t& noexcept
-
auto position() const -> TAO_PEGTL_NAMESPACE::
position - void discard() const noexcept
-
void require(const std::
size_t) const noexcept -
template<rewind_mode M>auto mark() -> internal::
marker<iterator_t, M> noexcept