#include <OpenMS/FORMAT/HANDLERS/XMLHandler.h>
|
| static XMLSize_t | strLength (const XMLCh *input_ptr) |
| | Calculates the length of a XMLCh* string using SIMDe.
|
| |
| static XercesString | convert (const char *str) |
| | Transcode the supplied C string to a xerces string.
|
| |
| static XercesString | convert (const std::string &str) |
| | Transcode the supplied C++ string to a xerces string.
|
| |
| static unique_xerces_ptr< XMLCh > | convertPtr (const char *str) |
| | Transcode the supplied C string to a xerces string pointer.
|
| |
| static unique_xerces_ptr< XMLCh > | convertPtr (const std::string &str) |
| | Transcode the supplied C++ string to a xerces string pointer.
|
| |
| static std::string | convert (const XMLCh *str) |
| | Transcode the supplied XMLCh* to a String.
|
| |
| static bool | isASCII (const XMLCh *chars, const XMLSize_t length) |
| | Checks if supplied chars in XMLCh* can be encoded with ASCII (i.e. the upper byte of each char is 0)
|
| |
| static void | appendASCII (const XMLCh *str, const XMLSize_t length, std::string &result) |
| | Transcodes the supplied XMLCh* and appends it to the OpenMS String.
|
| |
|
| static void | compress64_ (const XMLCh *input_it, char *output_it) |
| | Compresses eight 8x16bit Chars in XMLCh* to 8x8bit Chars by cutting upper byte.
|
| |
◆ XercesString
◆ StringManager()
◆ ~StringManager()
◆ appendASCII()
| static void appendASCII |
( |
const XMLCh * |
str, |
|
|
const XMLSize_t |
length, |
|
|
std::string & |
result |
|
) |
| |
|
static |
Transcodes the supplied XMLCh* and appends it to the OpenMS String.
- Note
- Assumes that the XMLCh* only contains ASCII characters
◆ compress64_()
| static void compress64_ |
( |
const XMLCh * |
input_it, |
|
|
char * |
output_it |
|
) |
| |
|
staticprotected |
Compresses eight 8x16bit Chars in XMLCh* to 8x8bit Chars by cutting upper byte.
◆ convert() [1/3]
◆ convert() [2/3]
Transcode the supplied C++ string to a xerces string.
◆ convert() [3/3]
| static std::string convert |
( |
const XMLCh * |
str | ) |
|
|
inlinestatic |
Transcode the supplied XMLCh* to a String.
◆ convertPtr() [1/2]
◆ convertPtr() [2/2]
Transcode the supplied C++ string to a xerces string pointer.
◆ fromNative_() [1/2]
Converts from a narrow-character string to a wide-character string.
◆ fromNative_() [2/2]
Converts from a narrow-character string to a wide-character string.
◆ isASCII()
| static bool isASCII |
( |
const XMLCh * |
chars, |
|
|
const XMLSize_t |
length |
|
) |
| |
|
static |
Checks if supplied chars in XMLCh* can be encoded with ASCII (i.e. the upper byte of each char is 0)
◆ strLength()
| static XMLSize_t strLength |
( |
const XMLCh * |
input_ptr | ) |
|
|
static |
Calculates the length of a XMLCh* string using SIMDe.
◆ toNative_() [1/2]
◆ toNative_() [2/2]
| static std::string toNative_ |
( |
const XMLCh * |
str | ) |
|
|
inlinestaticprivate |