FARGOS/VISTA Object Management Environment Core
..
|
OME string implementation. More...
Go to the source code of this file.
Classes | |
class | OMEstringStorage |
Reference-counted storage for OMEstring objects. More... | |
class | OMEstring |
Implements text and binary string storage. More... | |
Macros | |
#define | _OME_STRING_H "$Id: OMEstring.h 406 2020-07-12 05:07:33Z geoff $" |
Enumerations | |
enum | OME_character_set_t { OME_CHARSET_UNDEFINED = 0, OME_CHARSET_MASK_CHARSET = 0x1f, OME_CHARSET_STRING_IN_ROM = 0x20, OME_CHARSET_MASK_WIDE_CHARS = 0x10, OME_CHARSET_ASCII = 1, OME_CHARSET_EBCDIC = 2, OME_CHARSET_BINARY = 3, OME_CHARSET_UNICODE = (4 | OME_CHARSET_MASK_WIDE_CHARS), OME_DEFAULT_CHARSET = OME_CHARSET_ASCII } |
Functions | |
constexpr uint_fast8_t | UTF8characterLength (uint_fast8_t firstByte) |
Return the number of bytes needed to represent the UTF character. More... | |
uint_fast8_t | UTF8characterLength (const void *charPtr) |
Return the number of bytes needed to represent the UTF character at the indicated address. More... | |
template<typename STREAMTYPE > | |
STREAMTYPE & | operator<< (STREAMTYPE &outputStream, const OMEstring &data) |
Output an OMEstring to an output stream. More... | |
ssize_t | findSubstring (const unsigned char *source, size_t srcLen, const unsigned char *subString, size_t subLen) |
Searches for a substring within a buffer. More... | |
ssize_t | findLastSubstring (const unsigned char *source, size_t srcLen, const unsigned char *subString, size_t subLen) |
OMEstring * | convertCaseOfString (const OMEstring &str, uint_fast8_t toLower=0) |
int | caseInsensitiveCompare (const OMEstring &str1, const OMEstring &str2, bool fuzzy=false) |
OMEstring * | substituteText (const OMEstring &srcStr, const class OMEassoc &v) |
OMEstring * | OMEbinaryToBase64 (const OMEstring &source, bool breakIntoLines=true) |
Convert binary data to base64 text encoding. More... | |
OMEstring * | OMEbase64ToBinary (const OMEstring &source) |
Convert base-64 encoded text to its binary representation. More... | |
size_t | OMEhexToBinary (const unsigned char *src, size_t srcLen, unsigned char *dest, size_t destLen) |
Convert hexadecimal text to binary. More... | |
OMEstring * | OMEhexToBinary (const OMEstring &source) |
Convert a text string of hexadecimal characters into its binary equivalent. More... | |
OMEstring * | OMEbinaryToHex (const OMEstring &source) |
Convert a string of binary data into a text string of hexadecimal characters. More... | |
OMEstring * | OMEbinaryToHex (const unsigned char *source, size_t sourceLen) |
Convert binary data to hexadecimal characters. More... | |
OMEstring * | OMEconvertURIescapes (const OMEstring &source) |
Convert Uniform Resource Identifier escape sequences. More... | |
OMEstring * | OMEmakeSafeURI (const OMEstring &source) |
Escape any special characters in an Uniform Resource Identifier. More... | |
Variables | |
const typedef void * | OMEstringInROM |
Points to immovable, read-only string data. More... | |
OME string implementation.
#define _OME_STRING_H "$Id: OMEstring.h 406 2020-07-12 05:07:33Z geoff $" |
![]() | Generated: Tue Jul 28 2020 16:03:26
Support Information |