|
rapidyaml
0.16.0
parseandemitYAML,anddoitfast
|
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 More... | |
| size_t | wcap |
| write capacity - the capacity of the subject string's buffer More... | |
| size_t | rpos |
| read position More... | |
| size_t | wpos |
| write position More... | |
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 |
Definition at line 189 of file filter_processor.hpp.
|
inlinenoexcept |
Definition at line 197 of file filter_processor.hpp.
|
inlinenoexcept |
Definition at line 198 of file filter_processor.hpp.
|
inlinenoexcept |
Definition at line 200 of file filter_processor.hpp.
|
inlinenoexcept |
Definition at line 201 of file filter_processor.hpp.
|
inlinenoexcept |
Definition at line 203 of file filter_processor.hpp.
Referenced by set_at_end().
|
inlinenoexcept |
Definition at line 204 of file filter_processor.hpp.
|
inlinenoexcept |
Definition at line 206 of file filter_processor.hpp.
|
inlinenoexcept |
Definition at line 214 of file filter_processor.hpp.
Referenced by set_at().
|
inlinenoexcept |
Definition at line 220 of file filter_processor.hpp.
|
inlinenoexcept |
Definition at line 228 of file filter_processor.hpp.
|
inlinenoexcept |
Definition at line 237 of file filter_processor.hpp.
|
inlinenoexcept |
Definition at line 253 of file filter_processor.hpp.
|
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.
| 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 result().
| size_t c4::yml::FilterProcessorInplaceEndExtending::rpos |
read position
Definition at line 170 of file filter_processor.hpp.
| size_t c4::yml::FilterProcessorInplaceEndExtending::wpos |
write position
Definition at line 171 of file filter_processor.hpp.
Referenced by copy(), set(), set_at(), and translate_esc().