rapidyaml 0.15.2
parse and emit YAML, and do it fast
Loading...
Searching...
No Matches
c4::yml::FilterResult Struct Reference

Result for filtering a scalar which not fit in the intended memory. More...

#include <filter_processor.hpp>

Public Member Functions

bool valid () const noexcept
size_t required_len () const noexcept
csubstr get () const

Public Attributes

csubstr str

Detailed Description

Result for filtering a scalar which not fit in the intended memory.

Definition at line 26 of file filter_processor.hpp.

Member Function Documentation

◆ valid()

bool c4::yml::FilterResult::valid ( ) const
inlinenoexcept

Definition at line 28 of file filter_processor.hpp.

28{ return str.str != nullptr; }

Referenced by get().

◆ required_len()

size_t c4::yml::FilterResult::required_len ( ) const
inlinenoexcept

Definition at line 29 of file filter_processor.hpp.

29{ return str.len; }

◆ get()

csubstr c4::yml::FilterResult::get ( ) const
inline

Definition at line 30 of file filter_processor.hpp.

30{ RYML_ASSERT_BASIC_(valid()); return str; }
bool valid() const noexcept

Member Data Documentation

◆ str


The documentation for this struct was generated from the following file:
  • /home/docs/checkouts/readthedocs.org/user_builds/rapidyaml/checkouts/latest/src/c4/yml/filter_processor.hpp