Placeholder structure to reference a text fragment that will have selected characters transformed or deleted.
More...
|
| EscapedTextBlock_struct (const char *bfr, const char *quoteTheseChars, const char *escapeUsing=_DEFAULT_REPLACEMENT_CHARACTERS, const char *convertNULL=_DEFAULT_NULL_REPLACEMENT) OME_ALWAYS_INLINE |
| Escape string, determine string length. More...
|
|
| EscapedTextBlock_struct (const char *bfr, const Escaped_Replacement_Characters &useReplacements=defaultEscapePatterns) OME_ALWAYS_INLINE |
| Escape string, determine string length. More...
|
|
| EscapedTextBlock_struct (const char *bfr, uint_fast32_t len, const char *quoteTheseChars, const char *escapeUsing=_DEFAULT_REPLACEMENT_CHARACTERS, const char *convertNULL=_DEFAULT_NULL_REPLACEMENT) OME_ALWAYS_INLINE |
| Escape string of known length. More...
|
|
| EscapedTextBlock_struct (const char *bfr, uint_fast32_t len, const Escaped_Replacement_Characters &useReplacements=defaultEscapePatterns) OME_ALWAYS_INLINE |
| Escape string of known length with precomputed escapes. More...
|
|
| EscapedTextBlock_struct (const std::string &bfr, const char *quoteTheseChars, const char *escapeUsing=_DEFAULT_REPLACEMENT_CHARACTERS, const char *convertNULL=_DEFAULT_NULL_REPLACEMENT) OME_ALWAYS_INLINE |
| Escape std::string. More...
|
|
| EscapedTextBlock_struct (const std::string &bfr, const Escaped_Replacement_Characters &useReplacements=defaultEscapePatterns) OME_ALWAYS_INLINE |
| Escape std::string. More...
|
|
| EscapedTextBlock_struct (const char justThisChar, const char *quoteTheseChars, const char *escapeUsing=_DEFAULT_REPLACEMENT_CHARACTERS, const char *convertNULL=_DEFAULT_NULL_REPLACEMENT) OME_ALWAYS_INLINE |
| Escape a single character. More...
|
|
| EscapedTextBlock_struct (const char justThisChar, const Escaped_Replacement_Characters &useReplacements=defaultEscapePatterns) OME_ALWAYS_INLINE |
|
Placeholder structure to reference a text fragment that will have selected characters transformed or deleted.
By default, characters are left as-is. The set of non-null characters to be modified or deleted is specified in one set; the replacement for null is specified separately. The replacement characters are specified as a null-separated groups of characters.
The constructors take a pointer to a text string with an optional length or character. By default, they use a precomputed Escaped_Replacement_Characters block, but an alternate replacement can be explicit specified or a dynamic one will be populated if the replacement strings are also provided.