RWUCharOutputStream Class Reference
[Streams]
Handle class for the Unicode character output stream implementation classes.
More...
#include <rw/stream/RWUCharOutputStream.h>
List of all members.
Detailed Description
Handle class for all the Unicode character output stream implementation classes. Implements the handle idiom from the handle-body pattern.
Constructor & Destructor Documentation
Copy constructor.
- Parameters:
-
| handle | A UTF-16 character stream handle used to initialize the newly created handle. |
Member Function Documentation
void RWUCharOutputStream::close |
( |
void |
|
) |
[inline] |
void RWUCharOutputStream::flush |
( |
void |
|
) |
[inline] |
bool RWUCharOutputStream::isBad |
( |
|
) |
const [inline] |
Returns true
to indicate a loss of integrity resulting from an output operation. Throws no exceptions.
bool RWUCharOutputStream::isFail |
( |
|
) |
const [inline] |
Returns true
to indicate that an output operation failed to generate the desired data. Throws no exceptions.
bool RWUCharOutputStream::isGood |
( |
|
) |
const [inline] |
Returns true
to indicate a stream in a valid state. Throws no exceptions.
Writes a single UTF-16 character to the stream.
- Parameters:
-
| unicodeValue | The UTF-16 character to be written to the stream. |
Inserter executing a manipulator function.
- Parameters:
-
| pf | The manipulator's function pointer. |
Inserter executing a manipulator function.
- Parameters:
-
| pf | The manipulator's function pointer. |
Assignment operator. Throws no exceptions.
- Parameters:
-
| handle | A UTF-16 character stream handle used to initialize this handle. |
void RWUCharOutputStream::write |
( |
const RWUChar * |
unicodeArray, |
|
|
RWSize |
numUChars | |
|
) |
| | [inline] |
Writes an array of UTF-16 characters to the stream.
- Parameters:
-
| unicodeArray | A pointer to the first element of the array. |
| numUChars | The number of UTF-16 characters to be written to the stream. |
void RWUCharOutputStream::write |
( |
RWUChar |
unicodeValue |
) |
[inline] |
Writes a single UTF-16 character to the stream.
- Parameters:
-
| unicodeValue | The UTF-16 character to be written to the stream. |
Friends And Related Function Documentation
Manipulator that writes an end-of-line UTF-16 control character to the stream.
- Parameters:
-
| stream | A UTF-16 character output stream. |
Manipulator that writes an end-of-string UTF-16 character to the stream.
- Parameters:
-
| stream | A UTF-16 character output stream. |
Manipulator that flushes a UTF-16 character output stream.
- Parameters:
-
| stream | The UTF-16 character stream to be flushed. |