logo top
Main Page   Widgets   Namespaces   Book  

Glib::ustring Class Reference

Glib::ustring has much the same interface as std::string, but contains Unicode characters encoded as UTF-8. More...

List of all members.

Public Types

typedef std::string::size_type size_type
typedef std::string::difference_type difference_type
typedef gunichar value_type
typedef gunichar& reference
typedef const gunichar& const_reference
typedef ustring_Iterator<
std::string::iterator > 
iterator
typedef ustring_Iterator<
std::string::const_iterator > 
const_iterator
typedef std::reverse_iterator<
iterator
reverse_iterator
typedef std::reverse_iterator<
const_iterator
const_reverse_iterator

Public Member Functions

 ustring ()
 ~ustring ()
 ustring (const ustring& other)
ustringoperator= (const ustring& other)
void swap (ustring& other)
 ustring (const std::string& src)
 ustring (const ustring& src, size_type i, size_type n=npos)
 ustring (const char* src, size_type n)
 ustring (const char* src)
 ustring (size_type n, gunichar uc)
 ustring (size_type n, char c)
template<class In>
 ustring (In pbegin, In pend)
Assign new contents.
ustringoperator= (const std::string& src)
ustringoperator= (const char* src)
ustringoperator= (gunichar uc)
ustringoperator= (char c)
ustringassign (const ustring& src)
ustringassign (const ustring& src, size_type i, size_type n)
ustringassign (const char* src, size_type n)
ustringassign (const char* src)
ustringassign (size_type n, gunichar uc)
ustringassign (size_type n, char c)
template<class In>
ustringassign (In pbegin, In pend)
Ap