Crazy Eddie's GUI System
0.8.7
|
Interface for a string transcoding utility. Instances of classes that implement this interface can be used to transcode CEGUI::Strings to and from some other character encodings not directly supported by the CEGUI::String class. More...
Public Member Functions | |
virtual uint16 * | stringToUTF16 (const String &input) const =0 |
Transcode the given string to a UTF-16 encoded buffer. More... | |
virtual std::wstring | stringToStdWString (const String &input) const =0 |
Transcode the given string to a std::wstring object. More... | |
virtual String | stringFromUTF16 (const uint16 *input) const =0 |
virtual String | stringFromStdWString (const std::wstring &input) const =0 |
virtual void | deleteUTF16Buffer (uint16 *input) const =0 |
deletes a buffer returned from the stringToUTF16 function. | |
Interface for a string transcoding utility. Instances of classes that implement this interface can be used to transcode CEGUI::Strings to and from some other character encodings not directly supported by the CEGUI::String class.
|
pure virtual |
Transcode the given string to a std::wstring object.
input | String object with the text to be transcoded. |
Implemented in CEGUI::IconvStringTranscoder, and CEGUI::Win32StringTranscoder.
|
pure virtual |
Transcode the given string to a UTF-16 encoded buffer.
input | String object with the text to be transcoded. |
Implemented in CEGUI::IconvStringTranscoder, and CEGUI::Win32StringTranscoder.