SourcePro C++ 13.0 |
SourcePro® C++ API Reference Guide |
Product Documentation: SourcePro C++ Documentation Home |
Concrete class connecting a UTF-16 character stream to a UTF-8 output binary stream. More...
#include <rw/stream/RWUCharToUTF8ByteOutputStreamImp.h>
Public Member Functions | |
virtual | ~RWUCharToUTF8ByteOutputStreamImp () |
virtual void | close () |
virtual void | flush () |
virtual bool | isBad () const |
virtual bool | isFail () const |
More... | |
virtual bool | isGood () const |
More... | |
virtual void | write (RWUChar unicodeValue) |
virtual void | write (const RWUChar *unicodeArray, RWSize numUChars) |
Public Member Functions inherited from RWUCharOutputStreamImp | |
virtual | ~RWUCharOutputStreamImp () |
virtual RWUCharOutputStream | acquire () |
virtual void | release () |
Public Member Functions inherited from RWOutputStreamImp | |
virtual | ~RWOutputStreamImp () |
Public Member Functions inherited from RWStreamImp | |
virtual | ~RWStreamImp () |
Static Public Member Functions | |
static RWUCharOutputStream | make (const RWByteOutputStream &sink) |
Additional Inherited Members |
Concrete class connecting a UTF-16 character stream to a UTF-8 binary stream. The UTF-16 characters are transformed as a sequence of UTF-8 bytes. UTF-8 is a variable length encoding of the Unicode Standard using 8-bit sequences, where the high bits indicate which part of the sequence a byte belongs to. Implements the body idiom from the handle-body pattern.
|
virtual |
Destructor.
|
protected |
Initializes the reference to the binary stream that will be used as the sink of bytes.
sinkStream | The binary stream that will serve as the sink of bytes. |
|
virtual |
This function is forwarded to the binary stream used as the sink of bytes.
Reimplemented from RWOutputStreamImp.
|
virtual |
This function is forwarded to the binary stream used as the sink of bytes.
Implements RWOutputStreamImp.
|
inlineprotected |
Returns a reference to the binary stream that is used as the sink of bytes. Throw no exceptions.
|
inlineprotected |
Returns a reference to the binary stream that is used as the sink of bytes. Throw no exceptions.
|
virtual |
This function is forwarded to the binary stream used as the sink of bytes. Throws no exceptions.
Implements RWStreamImp.
|
virtual |
This function is forwarded to the binary stream used as the sink of bytes. Throws no exceptions.
Implements RWStreamImp.
|
virtual |
This function is forwarded to the binary stream used as the sink of bytes. Throws no exceptions.
Implements RWStreamImp.
|
inlinestatic |
Constructs an RWUCharToUTF8ByteOutputStreamImp instance that uses sink as its sink of bytes, and returns a handle to it. Throws no exceptions.
sink | The binary stream that is used as the sink of bytes. |
|
virtual |
Encodes, and writes a single UTF-16 character to the binary stream used as the sink of bytes.
unicodeValue | The UTF-16 character to be encoded. |
Implements RWUCharOutputStreamImp.
|
virtual |
Encodes, and writes an array of UTF-16 characters to the stream used as the sink of bytes.
unicodeArray | A pointer to the first element of the array. |
numUChars | The number of UTF-16 characters to be encoded. |
Implements RWUCharOutputStreamImp.
Copyright © 2014 Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.