rapidyaml  0.16.0
parseandemitYAML,anddoitfast
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

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

Definition at line 28 of file filter_processor.hpp.

Referenced by get().

28 { return str.str != nullptr; }
C * str
a restricted pointer to the first character of the substring
Definition: substr.hpp:216
size_t c4::yml::FilterResult::required_len ( ) const
inlinenoexcept

Definition at line 29 of file filter_processor.hpp.

29 { return str.len; }
size_t len
the length of the substring
Definition: substr.hpp:218
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


The documentation for this struct was generated from the following file: