|
rapidyaml 0.15.2
parse and emit YAML, and do it fast
|
Filters in place. More...
#include <filter_processor.hpp>
Public Member Functions | |
| FilterProcessorInplaceEndExtending (substr src_, size_t wcap_) noexcept | |
| void | setwpos (size_t wpos_) noexcept |
| void | setpos (size_t rpos_, size_t wpos_) noexcept |
| void | set_at_end () noexcept |
| bool | has_more_chars () const noexcept |
| bool | has_more_chars (size_t maxpos) const noexcept |
| FilterResult | result () const noexcept |
| csubstr | sofar () const noexcept |
| csubstr | rem () const noexcept |
| char | curr () const noexcept |
| char | next () const noexcept |
| void | skip () noexcept |
| void | skip (size_t num) noexcept |
| void | set_at (size_t pos, char c) noexcept |
| void | set (char c) noexcept |
| void | set (char c, size_t num) noexcept |
| void | copy () noexcept |
| void | copy (size_t num) noexcept |
| void | translate_esc (char c) noexcept |
| void | translate_esc_bulk (const char *s, size_t nw, size_t nr) noexcept |
| void | translate_esc_extending (const char *s, size_t nw, size_t nr) noexcept |
Public Attributes | |
| substr | src |
| the subject string | |
| size_t | wcap |
| write capacity - the capacity of the subject string's buffer | |
| size_t | rpos |
| read position | |
| size_t | wpos |
| write position | |
Filters in place.
While the result may be larger than the source, any extending happens only at the end of the string. Consequently, it's impossible for characters to be left unfiltered.
Definition at line 166 of file filter_processor.hpp.
|
inlinenoexcept |
Definition at line 173 of file filter_processor.hpp.
|
inlinenoexcept |
Definition at line 182 of file filter_processor.hpp.
|
inlinenoexcept |
Definition at line 183 of file filter_processor.hpp.
|
inlinenoexcept |
Definition at line 184 of file filter_processor.hpp.
|
inlinenoexcept |
Definition at line 186 of file filter_processor.hpp.
|
inlinenoexcept |
Definition at line 187 of file filter_processor.hpp.
|
inlinenoexcept |
|
inlinenoexcept |
Definition at line 197 of file filter_processor.hpp.
|
inlinenoexcept |
Definition at line 198 of file filter_processor.hpp.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
Definition at line 204 of file filter_processor.hpp.
|
inlinenoexcept |
Definition at line 206 of file filter_processor.hpp.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
Definition at line 237 of file filter_processor.hpp.
|
inlinenoexcept |
|
inlinenoexcept |
Definition at line 263 of file filter_processor.hpp.
Referenced by translate_esc_extending().
|
inlinenoexcept |
Definition at line 279 of file filter_processor.hpp.
| substr c4::yml::FilterProcessorInplaceEndExtending::src |
the subject string
Definition at line 168 of file filter_processor.hpp.
Referenced by FilterProcessorInplaceEndExtending(), copy(), copy(), curr(), has_more_chars(), has_more_chars(), next(), rem(), result(), set(), set(), set_at_end(), sofar(), translate_esc(), and translate_esc_bulk().
| size_t c4::yml::FilterProcessorInplaceEndExtending::wcap |
write capacity - the capacity of the subject string's buffer
Definition at line 169 of file filter_processor.hpp.
Referenced by FilterProcessorInplaceEndExtending(), copy(), copy(), result(), set(), set(), sofar(), translate_esc(), and translate_esc_bulk().
| size_t c4::yml::FilterProcessorInplaceEndExtending::rpos |
read position
Definition at line 170 of file filter_processor.hpp.
Referenced by copy(), copy(), curr(), has_more_chars(), has_more_chars(), next(), rem(), result(), set_at_end(), setpos(), skip(), skip(), translate_esc(), and translate_esc_bulk().
| size_t c4::yml::FilterProcessorInplaceEndExtending::wpos |
write position
Definition at line 171 of file filter_processor.hpp.
Referenced by copy(), copy(), result(), set(), set(), set_at(), setpos(), setwpos(), sofar(), translate_esc(), and translate_esc_bulk().