49 #ifndef vtkUnicodeString_h
50 #define vtkUnicodeString_h
67 #define vtkSuperExtraExtendedTemplateMacro(call) \
68 vtkExtraExtendedTemplateMacro(call); \
69 vtkTemplateMacroCase(VTK_UNICODE_STRING, vtkUnicodeString, call)
99 std::string::const_iterator Position;
115 static bool is_utf8(
const char*);
144 value_type
at(size_type
offset)
const;
156 std::vector<vtkTypeUInt16>
utf16_str()
const;
159 void utf16_str(std::vector<vtkTypeUInt16>& result)
const;
182 void append(size_type count, value_type character);
189 void assign(size_type count, value_type character);
220 class back_insert_iterator;
static vtkUnicodeString from_utf16(const vtkTypeUInt16 *)
VTKCOMMONCORE_EXPORT bool operator>=(const vtkUnicodeString &lhs, const vtkUnicodeString &rhs)
static bool is_utf8(const char *)
vtkUnicodeString & operator=(const vtkUnicodeString &)
vtkUnicodeString fold_case() const
value_type operator[](size_type offset) const
VTKCOMMONCORE_EXPORT bool operator<=(const vtkUnicodeString &lhs, const vtkUnicodeString &rhs)
void append(const vtkUnicodeString &value)
void push_back(value_type)
#define VTKCOMMONCORE_EXPORT
std::string::difference_type difference_type
vtkUnicodeStringValueType value_type
VTKCOMMONCORE_EXPORT bool operator<(const vtkUnicodeString &lhs, const vtkUnicodeString &rhs)
VTKCOMMONCORE_EXPORT bool operator>(const vtkUnicodeString &lhs, const vtkUnicodeString &rhs)
size_type byte_count() const
size_type character_count() const
int compare(const vtkUnicodeString &) const
vtkUnicodeString & operator+=(value_type)
static vtkUnicodeString from_utf8(const char *)
const char * utf8_str() const
std::vector< vtkTypeUInt16 > utf16_str() const
void swap(vtkUnicodeString &)
void assign(const vtkUnicodeString &value)
static const size_type npos
std::bidirectional_iterator_tag iterator_category
value_type at(size_type offset) const
const_iterator end() const
VTKCOMMONCORE_EXPORT bool operator!=(const vtkUnicodeString &lhs, const vtkUnicodeString &rhs)
vtkUnicodeString substr(size_type offset=0, size_type count=npos) const
VTKCOMMONCORE_EXPORT bool operator==(const vtkUnicodeString &lhs, const vtkUnicodeString &rhs)
vtkVector< A, Size > operator*(const vtkVector< A, Size > &v1, const vtkVector< A, Size > &v2)
vtkTypeUInt32 vtkUnicodeStringValueType
std::string::size_type size_type
vtkUnicodeStringValueType value_type
String class that stores Unicode text.
const_iterator begin() const