Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Search  

UCharReference Class Reference

A proxy class to allow the UnicodeString::operator[] function to work as a readable and a writable operator. More...

#include <unistr.h>

Inheritance diagram for UCharReference::

UObject List of all members.

Public Methods

 UCharReference ()
 UCharReference (UnicodeString *string, int32_t pos)
 UCharReference (const UCharReference &that)
 ~UCharReference ()
UCharReference & operator= (const UCharReference &that)
UCharReference & operator= (UChar c)
 operator UChar ()
virtual UClassID getDynamicClassID () const
 ICU "poor man's RTTI", returns a UClassID for the actual class. More...


Static Public Methods

UClassID getStaticClassID ()
 ICU "poor man's RTTI", returns a UClassID for this class. More...


Private Attributes

UnicodeStringfString
int32_t fPos

Static Private Attributes

const char fgClassID
 The address of this static class variable serves as this class's ID for ICU "poor man's RTTI". More...


Detailed Description

A proxy class to allow the UnicodeString::operator[] function to work as a readable and a writable operator.

Stable:

Definition at line 4012 of file unistr.h.


Constructor & Destructor Documentation

UCharReference::UCharReference  
 

UCharReference::UCharReference UnicodeString   string,
int32_t    pos
[inline]
 

Definition at line 4055 of file unistr.h.

UCharReference::UCharReference const UCharReference &    that [inline]
 

Definition at line 4061 of file unistr.h.

UCharReference::~UCharReference   [inline]
 

Definition at line 4066 of file unistr.h.


Member Function Documentation

virtual UClassID UCharReference::getDynamicClassID void    const [inline, virtual]
 

ICU "poor man's RTTI", returns a UClassID for the actual class.

Draft:
This API has been introduced in ICU 2.2. It is still in draft state and may be modified in a future release.

Reimplemented from UObject.

Definition at line 4030 of file unistr.h.

UClassID UCharReference::getStaticClassID void    [inline, static]
 

ICU "poor man's RTTI", returns a UClassID for this class.

Draft:
This API has been introduced in ICU 2.2. It is still in draft state and may be modified in a future release.

Definition at line 4037 of file unistr.h.

UCharReference::operator UChar   [inline]
 

Definition at line 4078 of file unistr.h.

UCharReference & UCharReference::operator= UChar    c [inline]
 

Definition at line 4074 of file unistr.h.

UCharReference & UCharReference::operator= const UCharReference &    that [inline]
 

Definition at line 4070 of file unistr.h.

Referenced by UCharReference().


Member Data Documentation

int32_t UCharReference::fPos [private]
 

Definition at line 4041 of file unistr.h.

Referenced by operator=().

UnicodeString* UCharReference::fString [private]
 

Definition at line 4040 of file unistr.h.

Referenced by operator=().

const char UCharReference::fgClassID [static, private]
 

The address of this static class variable serves as this class's ID for ICU "poor man's RTTI".

Definition at line 4047 of file unistr.h.


The documentation for this class was generated from the following file:
Generated on Thu Aug 15 14:14:13 2002 for ICU 2.2 by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001