rapidyaml 0.15.2
parse and emit YAML, and do it fast
Loading...
Searching...
No Matches
c4::yml::FilterResultExtending 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
size_t reqlen

Detailed Description

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

Definition at line 35 of file filter_processor.hpp.

Member Function Documentation

◆ valid()

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

Definition at line 37 of file filter_processor.hpp.

37{ return str.str != nullptr; }

Referenced by get().

◆ required_len()

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

Definition at line 38 of file filter_processor.hpp.

◆ get()

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

Definition at line 39 of file filter_processor.hpp.

39{ RYML_ASSERT_BASIC_(valid()); return str; }

Member Data Documentation

◆ str

csubstr c4::yml::FilterResultExtending::str

◆ reqlen

size_t c4::yml::FilterResultExtending::reqlen

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