Ice 3.7 C++11 API Reference
|
#include <IceUtil/Config.h>
#include <IceUtil/Exception.h>
#include <IceUtil/Shared.h>
#include <IceUtil/Handle.h>
#include <string>
Go to the source code of this file.
Classes | |
class | IceUtil::BasicStringConverter< charT > |
A StringConverter converts narrow or wide-strings to and from UTF-8 byte sequences. More... | |
class | IceUtil::UTF8Buffer |
Provides bytes to toUTF8. More... | |
Namespaces | |
IceUtil | |
Typedefs | |
typedef BasicStringConverter< char > | IceUtil::StringConverter |
A narrow string converter. More... | |
using | IceUtil::StringConverterPtr = ::std::shared_ptr< StringConverter > |
typedef BasicStringConverter< wchar_t > | IceUtil::WstringConverter |
A wide string converter. More... | |
using | IceUtil::WstringConverterPtr = ::std::shared_ptr< WstringConverter > |
Functions | |
WstringConverterPtr | IceUtil::createUnicodeWstringConverter () |
Creates a WstringConverter that converts to and from UTF-16 or UTF-32 depending on sizeof(wchar_t). More... | |
StringConverterPtr | IceUtil::getProcessStringConverter () |
Retrieves the per-process narrow string converter. More... | |
WstringConverterPtr | IceUtil::getProcessWstringConverter () |
Retrieves the per-process wide string converter. More... | |
std::string | IceUtil::nativeToUTF8 (const std::string &str, const StringConverterPtr &nc) |
Converts the given string from the native narrow string encoding to UTF-8 using the given converter. More... | |
void | IceUtil::setProcessStringConverter (const StringConverterPtr &c) |
Sets the per-process narrow string converter. More... | |
void | IceUtil::setProcessWstringConverter (const WstringConverterPtr &c) |
Sets the per process wide string converter. More... | |
std::wstring | IceUtil::stringToWstring (const std::string &str, const StringConverterPtr &nc=0, const WstringConverterPtr &wc=0) |
Converts the given narrow string to a wide string. More... | |
std::string | IceUtil::UTF8ToNative (const std::string &str, const StringConverterPtr &nc) |
Converts the given string from UTF-8 to the native narrow string encoding using the given converter. More... | |
std::string | IceUtil::wstringToString (const std::wstring &str, const StringConverterPtr &nc=0, const WstringConverterPtr &wc=0) |
Converts the given wide string to a narrow string. More... | |