Inheritance:
Public Methods
-
String()
-
String(const String& str)
-
String(const std::string& str)
-
String(const wchar_t* text)
-
String(const std::string& text, Encoding encoding)
-
virtual ~String()
-
String& operator = (const String& str)
-
void set(const std::string& str)
-
void set(const wchar_t* text)
- Set the text using a wchar_t string, which is converted to an internal TextString
-
void set(const std::string& text, Encoding encoding)
- Set the text using a Unicode encoded std::string, which is converted to an internal TextString.
-
std::string createUTF8EncodedString() const
- returns a UTF8 encoded version of this osgText::String
Public Members
-
enum Encoding
- Types of string encodings supported
Documentation
- enum Encoding
-
Types of string encodings supported
- ENCODING_UNDEFINED
- ENCODING_ASCII
- not using Unicode
- ENCODING_UTF8
- unsigned char ASCII
- ENCODING_UTF16
- 8-bit unicode transformation format
- ENCODING_UTF16_BE
- 16-bit signature
- ENCODING_UTF16_LE
- 16-bit big-endian
- ENCODING_UTF32
- 16-bit little-endian
- ENCODING_UTF32_BE
- 32-bit signature
- ENCODING_UTF32_LE
- 32-bit big-endian
- ENCODING_SIGNATURE
- 32-bit little-endian
- String()
- String(const String& str)
- String(const std::string& str)
- String(const wchar_t* text)
- String(const std::string& text, Encoding encoding)
- virtual ~String()
- String& operator = (const String& str)
- void set(const std::string& str)
- void set(const wchar_t* text)
- Set the text using a wchar_t string,
which is converted to an internal TextString
- void set(const std::string& text, Encoding encoding)
- Set the text using a Unicode encoded std::string, which is converted to an internal TextString.
The encoding parameter specificies which Unicode encodeding is used in the std::string.
- std::string createUTF8EncodedString() const
- returns a UTF8 encoded version of this osgText::String
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.