class Inti::ustring

Name

class Inti::ustring -- 

Synopsis

class Inti::ustring is declared in the header inti/utf-string.h.

Superclasses. string

Subclasses. none

Class members

Public Constructors.
ustring ()
ustring (const string & s)
ustring (const string & s, size_type pos, size_type n = npos)
ustring (const value_type * p, size_type n)
ustring (const value_type * p)
ustring (size_type n, value_type c)
template <class IterType>
 ustring (IterType first, IterType last)

Public Methods.
size_type char_size () const
size_type char_length () const
ustring char_substr (size_type i = 0, size_type n = npos)
unicode_char & char_at (size_type i)
const unicode_char & char_at (size_type i) const
size_type char_find (const ustring & substr, size_type i = 0) const
size_type char_find (const char * substr, size_type i = 0) const
size_type char_find (const char * substr, size_type i, size_type n) const
size_type char_find (unicode_char c, size_type i = 0) const
size_type char_rfind (const ustring & substr, size_type i = npos) const
size_type char_rfind (const char * substr, size_type i = npos) const
size_type char_rfind (const char * substr, size_type i, size_type n) const
size_type char_rfind (unicode_char c, size_type i = npos) const
size_type char_find_first_of (const ustring & chars, size_type i = 0) const
size_type char_find_first_of (const char * chars, size_type i = 0) const
size_type char_find_first_of (const char * chars, size_type i, size_type n) const
size_type char_find_first_of (unicode_char c, size_type i = 0) const
size_type char_find_last_of (const ustring & chars, size_type i = npos) const
size_type char_find_last_of (const char * chars, size_type i = npos) const
size_type char_find_last_of (const char * chars, size_type i, size_type n) const
size_type char_find_last_of (unicode_char c, size_type i = npos) const
size_type char_find_first_not_of (const ustring & chars, size_type i = 0) const
size_type char_find_first_not_of (const char * chars, size_type i = 0) const
size_type char_find_first_not_of (const char * chars, size_type i, size_type n) const
size_type char_find_first_not_of (unicode_char c, size_type i = 0) const
size_type char_find_last_not_of (const ustring & chars, size_type i = npos) const
size_type char_find_last_not_of (const char * chars, size_type i = npos) const
size_type char_find_last_not_of (const char * chars, size_type i, size_type n) const
size_type char_find_last_not_of (unicode_char c, size_type i = npos) const

Description

Public Typedefs

typedef Inti::ustring::reverse_char_iterator

typedef std::reverse_iterator<char_iterator> reverse_char_iterator

typedef Inti::ustring::const_reverse_char_iterator

typedef std::reverse_iterator<const_char_iterator> const_reverse_char_iterator

Public Constructors

method Inti::ustring::ustring

ustring ()

method Inti::ustring::ustring

ustring (const string & s)

s 

method Inti::ustring::ustring

ustring (const string & s, size_type pos, size_type n = npos)

s 
pos 
n 

method Inti::ustring::ustring

ustring (const value_type * p, size_type n)

p 
n 

method Inti::ustring::ustring

ustring (const value_type * p)

p 

method Inti::ustring::ustring

ustring (size_type n, value_type c)

n 
c 

method Inti::ustring::ustring

template <class IterType>
 ustring (IterType first, IterType last)

first 
last 

Public Methods

method Inti::ustring::char_size

size_type char_size () const

method Inti::ustring::char_length

size_type char_length () const

method Inti::ustring::char_substr

ustring char_substr (size_type i = 0, size_type n = npos)

i 
n 

method Inti::ustring::char_at

unicode_char & char_at (size_type i)

i 

method Inti::ustring::char_at

const unicode_char & char_at (size_type i) const

i 

method Inti::ustring::char_find

size_type char_find (const ustring & substr, size_type i = 0) const

substr 
i 

method Inti::ustring::char_find

size_type char_find (const char * substr, size_type i = 0) const

substr 
i 

method Inti::ustring::char_find

size_type char_find (const char * substr, size_type i, size_type n) const

substr 
i 
n 

method Inti::ustring::char_find

size_type char_find (unicode_char c, size_type i = 0) const

c 
i 

method Inti::ustring::char_rfind

size_type char_rfind (const ustring & substr, size_type i = npos) const

substr 
i 

method Inti::ustring::char_rfind

size_type char_rfind (const char * substr, size_type i = npos) const

substr 
i 

method Inti::ustring::char_rfind

size_type char_rfind (const char * substr, size_type i, size_type n) const

substr 
i 
n 

method Inti::ustring::char_rfind

size_type char_rfind (unicode_char c, size_type i = npos) const

c 
i 

method Inti::ustring::char_find_first_of

size_type char_find_first_of (const ustring & chars, size_type i = 0) const

chars 
i 

method Inti::ustring::char_find_first_of

size_type char_find_first_of (const char * chars, size_type i = 0) const

chars 
i 

method Inti::ustring::char_find_first_of

size_type char_find_first_of (const char * chars, size_type i, size_type n) const

chars 
i 
n 

method Inti::ustring::char_find_first_of

size_type char_find_first_of (unicode_char c, size_type i = 0) const

c 
i 

method Inti::ustring::char_find_last_of

size_type char_find_last_of (const ustring & chars, size_type i = npos) const

chars 
i 

method Inti::ustring::char_find_last_of

size_type char_find_last_of (const char * chars, size_type i = npos) const

chars 
i 

method Inti::ustring::char_find_last_of

size_type char_find_last_of (const char * chars, size_type i, size_type n) const

chars 
i 
n 

method Inti::ustring::char_find_last_of

size_type char_find_last_of (unicode_char c, size_type i = npos) const

c 
i 

method Inti::ustring::char_find_first_not_of

size_type char_find_first_not_of (const ustring & chars, size_type i = 0) const

chars 
i 

method Inti::ustring::char_find_first_not_of

size_type char_find_first_not_of (const char * chars, size_type i = 0) const

chars 
i 

method Inti::ustring::char_find_first_not_of

size_type char_find_first_not_of (const char * chars, size_type i, size_type n) const

chars 
i 
n 

method Inti::ustring::char_find_first_not_of

size_type char_find_first_not_of (unicode_char c, size_type i = 0) const

c 
i 

method Inti::ustring::char_find_last_not_of

size_type char_find_last_not_of (const ustring & chars, size_type i = npos) const

chars 
i 

method Inti::ustring::char_find_last_not_of

size_type char_find_last_not_of (const char * chars, size_type i = npos) const

chars 
i 

method Inti::ustring::char_find_last_not_of

size_type char_find_last_not_of (const char * chars, size_type i, size_type n) const

chars 
i 
n 

method Inti::ustring::char_find_last_not_of

size_type char_find_last_not_of (unicode_char c, size_type i = npos) const

c 
i