String data class for 16 bit data. More...
#include <string_data16.h>
Public Types | |
typedef wchar_t | char_type |
typedef const wchar_t * | const_iterator |
typedef wchar_t * | iterator |
typedef unsigned int | size_type |
Public Member Functions | |
CL_StringData16 () | |
CL_StringData16 (const wchar_t *ptr, size_type length) | |
Constructs a StringData8. | |
const_iterator | begin () const |
Begin. | |
iterator | begin () |
Begin. | |
int | compare (const CL_StringData16 &s) const |
Compare. | |
int | compare (size_type pos, size_type n, const CL_StringData16 &s) const |
Compare. | |
int | compare (size_type pos, size_type n, const CL_StringData16 &s, size_type pos1, size_type n1) const |
Compare. | |
int | compare (const wchar_t *s) const |
Compare. | |
int | compare (size_type pos, size_type n, const wchar_t *s, size_type len=npos) const |
Compare. | |
const wchar_t * | data () const |
wchar_t * | data () |
Data. | |
bool | empty () const |
Empty. | |
iterator | end () |
End. | |
const_iterator | end () const |
End. | |
size_type | find (const CL_StringData16 &s, size_type pos=0) const |
Find. | |
size_type | find (const wchar_t *s, size_type pos, size_type n) const |
Find. | |
size_type | find (const wchar_t *s, size_type pos=0) const |
Find. | |
size_type | find (wchar_t c, size_type pos=0) const |
Find. | |
size_type | find_first_not_of (wchar_t c, size_type pos=0) const |
Find first not of. | |
size_type | find_first_not_of (const CL_StringData16 &s, size_type pos=0) const |
Find first not of. | |
size_type | find_first_not_of (const wchar_t *s, size_type pos, size_type n) const |
Find first not of. | |
size_type | find_first_not_of (const wchar_t *s, size_type pos=0) const |
Find first not of. | |
size_type | find_first_of (const CL_StringData16 &s, size_type pos=0) const |
Find first of. | |
size_type | find_first_of (const wchar_t *s, size_type pos, size_type n) const |
Find first of. | |
size_type | find_first_of (const wchar_t *s, size_type pos=0) const |
Find first of. | |
size_type | find_first_of (wchar_t c, size_type pos=0) const |
Find first of. | |
size_type | find_last_not_of (const CL_StringData16 &s, size_type pos=npos) const |
Find last not of. | |
size_type | find_last_not_of (const wchar_t *s, size_type pos=npos) const |
Find last not of. | |
size_type | find_last_not_of (const wchar_t *s, size_type pos, size_type n) const |
Find last not of. | |
size_type | find_last_not_of (wchar_t c, size_type pos=npos) const |
Find last not of. | |
size_type | find_last_of (const CL_StringData16 &s, size_type pos=npos) const |
Find last of. | |
size_type | find_last_of (const wchar_t *s, size_type pos=npos) const |
Find last of. | |
size_type | find_last_of (wchar_t c, size_type pos=npos) const |
Find last of. | |
size_type | find_last_of (const wchar_t *s, size_type pos, size_type n) const |
Find last of. | |
size_type | length () const |
Length. | |
operator CL_StringRef16 () const | |
Convert object to a string reference. | |
operator std::wstring () const | |
std::wstring | |
const wchar_t & | operator[] (size_type n) const |
wchar_t & | operator[] (size_type n) |
size_type | rfind (const wchar_t *s, size_type pos, size_type n) const |
Rfind. | |
size_type | rfind (const CL_StringData16 &s, size_type pos=npos) const |
Rfind. | |
size_type | rfind (const wchar_t *s, size_type pos=npos) const |
Rfind. | |
size_type | rfind (wchar_t c, size_type pos=npos) const |
Rfind. | |
size_type | size () const |
Size. | |
CL_StringRef16 | substr (size_type pos=0, size_type n=npos) const |
Substr. | |
Static Public Attributes | |
static const size_type | npos |
Protected Attributes | |
size_type | data_length |
wchar_t * | data_ptr |
String data class for 16 bit data.
typedef wchar_t CL_StringData16::char_type |
typedef const wchar_t* CL_StringData16::const_iterator |
typedef wchar_t* CL_StringData16::iterator |
typedef unsigned int CL_StringData16::size_type |
CL_StringData16::CL_StringData16 | ( | ) |
CL_StringData16::CL_StringData16 | ( | const wchar_t * | ptr, | |
size_type | length | |||
) |
Constructs a StringData8.
ptr | = Char Type | |
length | = size_type |
iterator CL_StringData16::begin | ( | ) | [inline] |
const_iterator CL_StringData16::begin | ( | ) | const [inline] |
Begin.
int CL_StringData16::compare | ( | const CL_StringData16 & | s | ) | const |
Compare.
s | = String Data |
int CL_StringData16::compare | ( | size_type | pos, | |
size_type | n, | |||
const CL_StringData16 & | s | |||
) | const |
Compare.
pos | = size_type | |
n | = size_type | |
s | = String Data |
int CL_StringData16::compare | ( | size_type | pos, | |
size_type | n, | |||
const CL_StringData16 & | s, | |||
size_type | pos1, | |||
size_type | n1 | |||
) | const |
Compare.
pos | = size_type | |
n | = size_type | |
s | = String Data | |
pos1 | = size_type | |
n1 | = size_type |
int CL_StringData16::compare | ( | const wchar_t * | s | ) | const |
Compare.
s | = Char Type |
int CL_StringData16::compare | ( | size_type | pos, | |
size_type | n, | |||
const wchar_t * | s, | |||
size_type | len = npos | |||
) | const |
Compare.
pos | = size_type | |
n | = size_type | |
s | = Char Type | |
len | = size_type |
wchar_t* CL_StringData16::data | ( | ) | [inline] |
Data.
const wchar_t* CL_StringData16::data | ( | ) | const [inline] |
Referenced by CL_String16::insert().
bool CL_StringData16::empty | ( | ) | const [inline] |
Empty.
const_iterator CL_StringData16::end | ( | ) | const [inline] |
End.
iterator CL_StringData16::end | ( | ) | [inline] |
Find.
s | = Char Type | |
pos | = size_type |
Find.
c | = Char Type | |
pos | = size_type |
size_type CL_StringData16::find | ( | const CL_StringData16 & | s, | |
size_type | pos = 0 | |||
) | const |
Find.
s | = String Data | |
pos | = size_type |
Find.
s | = Char Type | |
pos | = size_type | |
n | = size_type |
size_type CL_StringData16::find_first_not_of | ( | const CL_StringData16 & | s, | |
size_type | pos = 0 | |||
) | const |
Find first not of.
s | = String Data | |
pos | = size_type |
size_type CL_StringData16::find_first_not_of | ( | const wchar_t * | s, | |
size_type | pos, | |||
size_type | n | |||
) | const |
Find first not of.
s | = Char Type | |
pos | = size_type | |
n | = size_type |
Find first not of.
s | = Char Type | |
pos | = size_type |
Find first not of.
c | = Char Type | |
pos | = size_type |
size_type CL_StringData16::find_first_of | ( | const CL_StringData16 & | s, | |
size_type | pos = 0 | |||
) | const |
Find first of.
s | = String Data | |
pos | = size_type |
Find first of.
s | = Char Type | |
pos | = size_type | |
n | = size_type |
Find first of.
s | = Char Type | |
pos | = size_type |
Find first of.
c | = Char Type | |
pos | = size_type |
size_type CL_StringData16::find_last_not_of | ( | const CL_StringData16 & | s, | |
size_type | pos = npos | |||
) | const |
Find last not of.
s | = String Data | |
pos | = size_type |
Find last not of.
c | = Char Type | |
pos | = size_type |
Find last not of.
s | = Char Type | |
pos | = size_type |
Find last not of.
s | = Char Type | |
pos | = size_type | |
n | = size_type |
Find last of.
s | = Char Type | |
pos | = size_type |
Find last of.
c | = Char Type | |
pos | = size_type |
Find last of.
s | = Char Type | |
pos | = size_type | |
n | = size_type |
size_type CL_StringData16::find_last_of | ( | const CL_StringData16 & | s, | |
size_type | pos = npos | |||
) | const |
Find last of.
s | = String Data | |
pos | = size_type |
size_type CL_StringData16::length | ( | ) | const [inline] |
CL_StringData16::operator CL_StringRef16 | ( | ) | const |
CL_StringData16::operator std::wstring | ( | ) | const |
std::wstring
const wchar_t& CL_StringData16::operator[] | ( | size_type | n | ) | const [inline] |
wchar_t& CL_StringData16::operator[] | ( | size_type | n | ) | [inline] |
Rfind.
s | = Char Type | |
pos | = size_type | |
n | = size_type |
Rfind.
c | = Char Type | |
pos | = size_type |
size_type CL_StringData16::rfind | ( | const CL_StringData16 & | s, | |
size_type | pos = npos | |||
) | const |
Rfind.
s | = String Data | |
pos | = size_type |
Rfind.
s | = Char Type | |
pos | = size_type |
size_type CL_StringData16::size | ( | ) | const [inline] |
Size.
CL_StringRef16 CL_StringData16::substr | ( | size_type | pos = 0 , |
|
size_type | n = npos | |||
) | const |
Substr.
pos | = size_type | |
n | = size_type |
size_type CL_StringData16::data_length [mutable, protected] |
wchar_t* CL_StringData16::data_ptr [mutable, protected] |
const size_type CL_StringData16::npos [static] |