SourcePro® 2024.1 |
SourcePro® API Reference Guide |
Concrete class connecting a wide character stream to an iostreams wide character buffer. More...
#include <rw/stream/RWWCharToWStreambufOutputStreamImp.h>
Public Member Functions | |
virtual | ~RWWCharToWStreambufOutputStreamImp () |
virtual void | close () |
virtual void | flush () |
virtual bool | isBad () const |
virtual bool | isFail () const |
virtual bool | isGood () const |
virtual void | write (const wchar_t *wcharArray, RWSize numWChars) |
virtual void | write (wchar_t wcharValue) |
![]() | |
virtual | ~RWWCharOutputStreamImp () |
virtual RWWCharOutputStream | acquire () |
virtual void | release () |
![]() | |
virtual | ~RWOutputStreamImp () |
![]() | |
virtual | ~RWStreamImp () |
Static Public Member Functions | |
static RWWCharOutputStream | make (std::wstreambuf &sink) |
Protected Member Functions | |
RWWCharToWStreambufOutputStreamImp (std::wstreambuf &sinkBuff) | |
std::wstreambuf & | getSinkBuff () |
const std::wstreambuf & | getSinkBuff () const |
![]() | |
RWWCharOutputStreamImp () | |
![]() | |
RWOutputStreamImp () | |
![]() | |
RWStreamImp () | |
![]() | |
RWBodyBase (const RWBodyBase &second) | |
RWBodyBase (RWStaticCtor) | |
RWBodyBase (void) | |
virtual | ~RWBodyBase (void) |
RWBodyBase & | operator= (const RWBodyBase &second) |
![]() | |
RWTCountingBody (const RWTCountingBody< RWMutexLock > &second) | |
RWTCountingBody (RWStaticCtor) | |
RWTCountingBody (unsigned initCount=0) | |
RWTCountingBody< RWMutexLock > & | operator= (const RWTCountingBody< RWMutexLock > &second) |
~RWTCountingBody (void) | |
unsigned | addReference (void) |
unsigned | references (void) const |
unsigned | removeReference (void) |
![]() | |
RWTMonitor (const RWTMonitor< RWMutexLock > &second) | |
RWTMonitor (RWStaticCtor) | |
RWTMonitor (void) | |
~RWTMonitor (void) | |
void | acquire (void) |
bool | isAcquired (void) const |
RWTMonitor< RWMutexLock > & | monitor (void) const |
RWMutexLock & | mutex (void) |
RWTMonitor< RWMutexLock > & | operator= (const RWTMonitor< RWMutexLock > &) |
void | release (void) |
bool | tryAcquire (void) |
Additional Inherited Members | |
![]() | |
typedef RWTLockGuard< RWTMonitor< RWMutexLock > > | LockGuard |
typedef RWTTryLockGuard< RWTMonitor< RWMutexLock > > | TryLockGuard |
typedef RWTUnlockGuard< RWTMonitor< RWMutexLock > > | UnlockGuard |
![]() | |
typedef RWTLockGuard< RWTMonitor< RWMutexLock > > | LockGuard |
typedef RWTTryLockGuard< RWTMonitor< RWMutexLock > > | TryLockGuard |
typedef RWTUnlockGuard< RWTMonitor< RWMutexLock > > | UnlockGuard |
Concrete class connecting a wide character stream to an iostreams wide character buffer. The iostreams buffer is used as the sink for the wide characters written to the wide character stream. Implements the body idiom from the handle-body pattern.
|
virtual |
Destructor.
|
inlineprotected |
Initializes the reference to the iostreams std::wstreambuf, that will be used as the sink of wide characters.
sinkBuff | The iostreams std::wstreambuf that will serve as the sink of wide characters. |
|
virtual |
This function calls flush(). The user is responsible for closing the iostreams std::wstreambuf used as the sink of wide characters if necessary.
Reimplemented from RWOutputStreamImp.
|
virtual |
Forward the flush() request to the iostreams std::wstreambuf.
Implements RWOutputStreamImp.
|
inlineprotected |
Returns a reference to the iostreams std::wstreambuf, which is used as the sink of wide characters. Throws no exceptions.
|
inlineprotected |
Returns a reference to the iostreams std::wstreambuf, which is used as the sink of wide characters. Throws no exceptions.
|
virtual |
Returns true
if the last operation performed on the iostreams std::wstreambuf failed. Throws no exceptions.
Implements RWStreamImp.
|
virtual |
Returns true
if the last operation performed on the iostreams std::wstreambuf failed. Throws no exceptions.
Implements RWStreamImp.
|
virtual |
Returns true
if the last operation performed on the iostreams std::wstreambuf succeeded. Throws no exceptions.
Implements RWStreamImp.
|
inlinestatic |
Constructs an RWWCharToWStreambufOutputStreamImp instance that uses sink as its sink of wide characters, and returns a handle to it. Throws no exceptions.
sink | The iostreams std::wstreambuf that is used as the sink of wide characters. |
|
virtual |
Writes an array of wide characters to the iostreams std::wstreambuf.
wcharArray | A pointer to the first element of the array. |
numWChars | The number of wide characters to be written. |
Implements RWWCharOutputStreamImp.
|
virtual |
Writes a single wide character to the iostreams std::wstreambuf.
wcharValue | The wide character to be written. |
Implements RWWCharOutputStreamImp.
Copyright © 2024 Rogue Wave Software, Inc., a Perforce company. All Rights Reserved. |