OpenMS
2.4.0
|
#include <OpenMS/FORMAT/HANDLERS/XMLHandler.h>
Public Member Functions | |
StringManager () | |
Constructor. More... | |
~StringManager () | |
Destructor. More... | |
XercesString | convert (const char *str) const |
Transcode the supplied C string to a xerces string. More... | |
XercesString | convert (const std::string &str) const |
Transcode the supplied C++ string to a xerces string. More... | |
XercesString | convert (const String &str) const |
Transcode the supplied OpenMS string to a xerces string. More... | |
String | convert (const XMLCh *str) const |
Transcode the supplied XMLCh* to a String. More... | |
Static Public Member Functions | |
static void | appendASCII (const XMLCh *str, const XMLSize_t length, String &result) |
Transcodes the supplied XMLCh* and appends it to the OpenMS String. More... | |
Private Types | |
typedef std::basic_string< XMLCh > | XercesString |
Private Member Functions | |
XercesString | fromNative_ (const char *str) const |
XercesString | fromNative_ (const String &str) const |
String | toNative_ (const XMLCh *str) const |
String | toNative_ (const XercesString &str) const |
|
private |
StringManager | ( | ) |
Constructor.
~StringManager | ( | ) |
Destructor.
|
static |
|
inline |
Transcode the supplied C string to a xerces string.
Referenced by XMLHandler::attributeAsDouble_(), XMLHandler::attributeAsInt_(), XMLHandler::attributeAsString_(), XMLHandler::optionalAttributeAsDouble_(), XMLHandler::optionalAttributeAsDoubleList_(), XMLHandler::optionalAttributeAsInt_(), XMLHandler::optionalAttributeAsIntList_(), XMLHandler::optionalAttributeAsString_(), XMLHandler::optionalAttributeAsStringList_(), and XMLHandler::optionalAttributeAsUInt_().
|
inline |
Transcode the supplied C++ string to a xerces string.
|
inline |
Transcode the supplied OpenMS string to a xerces string.
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |