OpenMS
2.7.0
|
#include <OpenMS/FORMAT/HANDLERS/XMLHandler.h>
Public Member Functions | |
StringManager () | |
Constructor. More... | |
~StringManager () | |
Destructor. More... | |
Static Public Member Functions | |
static XercesString | convert (const char *str) |
Transcode the supplied C string to a xerces string. More... | |
static XercesString | convert (const std::string &str) |
Transcode the supplied C++ string to a xerces string. More... | |
static XercesString | convert (const String &str) |
Transcode the supplied OpenMS string to a xerces string. More... | |
static unique_xerces_ptr< XMLCh > | convertPtr (const char *str) |
Transcode the supplied C string to a xerces string pointer. More... | |
static unique_xerces_ptr< XMLCh > | convertPtr (const std::string &str) |
Transcode the supplied C++ string to a xerces string pointer. More... | |
static unique_xerces_ptr< XMLCh > | convertPtr (const String &str) |
Transcode the supplied OpenMS string to a xerces string pointer. More... | |
static String | convert (const XMLCh *str) |
Transcode the supplied XMLCh* to a String. More... | |
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 |
Static Private Member Functions | |
static unique_xerces_ptr< XMLCh > | fromNative_ (const char *str) |
static unique_xerces_ptr< XMLCh > | fromNative_ (const String &str) |
static String | toNative_ (const XMLCh *str) |
static String | toNative_ (const unique_xerces_ptr< XMLCh > &str) |
|
private |
StringManager | ( | ) |
Constructor.
~StringManager | ( | ) |
Destructor.
|
static |
|
inlinestatic |
Transcode the supplied C string to a xerces string.
Referenced by XMLHandler::attributeAsDouble_(), XMLHandler::attributeAsInt_(), XMLHandler::attributeAsString_(), XMLHandler::optionalAttributeAsDouble_(), and XMLHandler::optionalAttributeAsString_().
|
inlinestatic |
Transcode the supplied C++ string to a xerces string.
|
inlinestatic |
Transcode the supplied OpenMS string to a xerces string.
|
inlinestatic |
Transcode the supplied C string to a xerces string pointer.
Referenced by XMLHandler::attributeAsDouble_(), XMLHandler::attributeAsInt_(), XMLHandler::attributeAsString_(), XMLHandler::optionalAttributeAsDouble_(), XMLHandler::optionalAttributeAsDoubleList_(), XMLHandler::optionalAttributeAsInt_(), XMLHandler::optionalAttributeAsIntList_(), XMLHandler::optionalAttributeAsString_(), XMLHandler::optionalAttributeAsStringList_(), and XMLHandler::optionalAttributeAsUInt_().
|
inlinestatic |
Transcode the supplied C++ string to a xerces string pointer.
|
inlinestatic |
Transcode the supplied OpenMS string to a xerces string pointer.
|
inlinestaticprivate |
|
inlinestaticprivate |
|
inlinestaticprivate |
References unique_xerces_ptr< T >::get().
|
inlinestaticprivate |