Main Page   Modules   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

OSCL_wString Class Reference
[OSCL Util]

#include <oscl_string.h>

Inheritance diagram for OSCL_wString:

OSCL_wFastString OSCL_wHeapString< Alloc > OSCL_wHeapStringA OSCL_wStackString< MaxBufSize >

Public Types

typedef oscl_wchar chartype

Public Methods

virtual uint32 get_size () const=0
virtual uint32 get_maxsize () const=0
virtual const chartypeget_cstr () const=0
virtual OSCL_IMPORT_REF bool is_writable () const
virtual chartypeget_str () const=0
OSCL_IMPORT_REF OSCL_wString & operator= (const OSCL_wString &src)
OSCL_IMPORT_REF OSCL_wString & operator= (const chartype *cstr)
OSCL_IMPORT_REF OSCL_wString & operator+= (const OSCL_wString &src)
OSCL_IMPORT_REF OSCL_wString & operator+= (const chartype *cstr)
OSCL_IMPORT_REF OSCL_wString & operator+= (const chartype c)
OSCL_IMPORT_REF bool operator== (const OSCL_wString &src) const
OSCL_IMPORT_REF bool operator!= (const OSCL_wString &src) const
OSCL_IMPORT_REF bool operator< (const OSCL_wString &src) const
OSCL_IMPORT_REF bool operator<= (const OSCL_wString &src) const
OSCL_IMPORT_REF bool operator> (const OSCL_wString &src) const
OSCL_IMPORT_REF bool operator>= (const OSCL_wString &src) const
OSCL_IMPORT_REF bool operator== (const chartype *cstr) const
OSCL_IMPORT_REF chartype operator[] (uint32 index) const
virtual OSCL_IMPORT_REF chartype read (uint32 index) const
virtual OSCL_IMPORT_REF int8 hash () const
virtual OSCL_IMPORT_REF void write (uint32 index, chartype c)
virtual OSCL_IMPORT_REF void write (uint32 offset, uint32 length, const chartype *buf)

Protected Methods

OSCL_IMPORT_REF OSCL_wString ()
virtual OSCL_IMPORT_REF ~OSCL_wString ()
virtual void set_rep (const chartype *cstr)=0
virtual void append_rep (const chartype *cstr)=0
virtual void set_rep (const OSCL_wString &src)=0
virtual void append_rep (const OSCL_wString &src)=0
virtual void set_len (uint32 len)=0

Detailed Description

A common base class for string classes with wide character (oscl_wchar) format. OSCL_wString and OSCL_String are identical except for the character format. For descriptions, see OSCL_String.


Member Typedef Documentation

typedef oscl_wchar OSCL_wString::chartype
 

Reimplemented in OSCL_wHeapString< Alloc >, OSCL_wHeapStringA, OSCL_wStackString< MaxBufSize >, and OSCL_wFastString.


Constructor & Destructor Documentation

OSCL_IMPORT_REF OSCL_wString::OSCL_wString   [protected]
 

virtual OSCL_IMPORT_REF OSCL_wString::~OSCL_wString   [protected, virtual]
 


Member Function Documentation

virtual void OSCL_wString::append_rep const OSCL_wString &    src [protected, pure virtual]
 

virtual void OSCL_wString::append_rep const chartype   cstr [protected, pure virtual]
 

virtual const chartype* OSCL_wString::get_cstr   [pure virtual]
 

Implemented in OSCL_wHeapString< Alloc >, OSCL_wHeapStringA, OSCL_wStackString< MaxBufSize >, and OSCL_wFastString.

virtual uint32 OSCL_wString::get_maxsize   [pure virtual]
 

Implemented in OSCL_wHeapString< Alloc >, OSCL_wHeapStringA, OSCL_wStackString< MaxBufSize >, and OSCL_wFastString.

virtual uint32 OSCL_wString::get_size   [pure virtual]
 

Implemented in OSCL_wHeapString< Alloc >, OSCL_wHeapStringA, OSCL_wStackString< MaxBufSize >, and OSCL_wFastString.

virtual chartype* OSCL_wString::get_str   [pure virtual]
 

Implemented in OSCL_wHeapString< Alloc >, OSCL_wHeapStringA, OSCL_wStackString< MaxBufSize >, and OSCL_wFastString.

virtual OSCL_IMPORT_REF int8 OSCL_wString::hash   [virtual]
 

virtual OSCL_IMPORT_REF bool OSCL_wString::is_writable   [virtual]
 

OSCL_IMPORT_REF bool OSCL_wString::operator!= const OSCL_wString &    src const
 

OSCL_IMPORT_REF OSCL_wString& OSCL_wString::operator+= const chartype    c
 

OSCL_IMPORT_REF OSCL_wString& OSCL_wString::operator+= const chartype   cstr
 

OSCL_IMPORT_REF OSCL_wString& OSCL_wString::operator+= const OSCL_wString &    src
 

OSCL_IMPORT_REF bool OSCL_wString::operator< const OSCL_wString &    src const
 

OSCL_IMPORT_REF bool OSCL_wString::operator<= const OSCL_wString &    src const
 

OSCL_IMPORT_REF OSCL_wString& OSCL_wString::operator= const chartype   cstr
 

Reimplemented in OSCL_wHeapString< Alloc >, OSCL_wHeapStringA, OSCL_wStackString< MaxBufSize >, and OSCL_wFastString.

OSCL_IMPORT_REF OSCL_wString& OSCL_wString::operator= const OSCL_wString &    src
 

Reimplemented in OSCL_wHeapString< Alloc >, OSCL_wHeapStringA, and OSCL_wStackString< MaxBufSize >.

OSCL_IMPORT_REF bool OSCL_wString::operator== const chartype   cstr const
 

OSCL_IMPORT_REF bool OSCL_wString::operator== const OSCL_wString &    src const
 

OSCL_IMPORT_REF bool OSCL_wString::operator> const OSCL_wString &    src const
 

OSCL_IMPORT_REF bool OSCL_wString::operator>= const OSCL_wString &    src const
 

OSCL_IMPORT_REF chartype OSCL_wString::operator[] uint32    index const
 

virtual OSCL_IMPORT_REF chartype OSCL_wString::read uint32    index const [virtual]
 

virtual void OSCL_wString::set_len uint32    len [protected, pure virtual]
 

virtual void OSCL_wString::set_rep const OSCL_wString &    src [protected, pure virtual]
 

virtual void OSCL_wString::set_rep const chartype   cstr [protected, pure virtual]
 

virtual OSCL_IMPORT_REF void OSCL_wString::write uint32    offset,
uint32    length,
const chartype   buf
[virtual]
 

virtual OSCL_IMPORT_REF void OSCL_wString::write uint32    index,
chartype    c
[virtual]
 


The documentation for this class was generated from the following file:
OSCL API
Posting Version: OPENCORE_20090310