Wrapper Around the Standard error Output facility on the current platform.
More...
#include <src/main/decaf/internal/io/StandardErrorOutputStream.h>
Public Member Functions |
| StandardErrorOutputStream () |
virtual | ~StandardErrorOutputStream () |
virtual void | flush () |
| Flushes this stream by writing any buffered output to the underlying stream.- Exceptions
-
The default implementation of this method does nothing.
|
virtual void | close () |
| Closes this object and deallocates the appropriate resources.The object is generally no longer usable after calling close.- Exceptions
-
The default implementation of this method does nothing.
|
| OutputStream () |
virtual | ~OutputStream () |
virtual void | write (unsigned char c) |
| Writes a single byte to the output stream.
|
virtual void | write (const unsigned char *buffer, int size) |
| Writes an array of bytes to the output stream.
|
virtual void | write (const unsigned char *buffer, int size, int offset, int length) |
| Writes an array of bytes to the output stream in order starting at buffer[offset] and proceeding until the number of bytes specified by the length argument are written or an error occurs.
|
virtual std::string | toString () const |
| Output a String representation of this object.
|
virtual void | lock () |
| Locks the object.
|
virtual bool | tryLock () |
| Attempts to Lock the object, if the lock is already held by another thread than this method returns false.
|
virtual void | unlock () |
| Unlocks the object.
|
virtual void | wait () |
| Waits on a signal from this object, which is generated by a call to Notify.
|
virtual void | wait (long long millisecs) |
| Waits on a signal from this object, which is generated by a call to Notify.
|
virtual void | wait (long long millisecs, int nanos) |
| Waits on a signal from this object, which is generated by a call to Notify.
|
virtual void | notify () |
| Signals a waiter on this object that it can now wake up and continue.
|
virtual void | notifyAll () |
| Signals the waiters on this object that it can now wake up and continue.
|
virtual | ~Closeable () |
virtual | ~Flushable () |
virtual | ~Synchronizable () |
Detailed Description
Wrapper Around the Standard error Output facility on the current platform.
This allows for the use of alternate output methods on platforms or compilers that do not support std::cerr
.
Constructor & Destructor Documentation
decaf::internal::io::StandardErrorOutputStream::StandardErrorOutputStream |
( |
| ) |
|
virtual decaf::internal::io::StandardErrorOutputStream::~StandardErrorOutputStream |
( |
| ) |
|
|
virtual |
Member Function Documentation
virtual void decaf::internal::io::StandardErrorOutputStream::close |
( |
| ) |
|
|
virtual |
Closes this object and deallocates the appropriate resources.The object is generally no longer usable after calling close.
- Exceptions
-
The default implementation of this method does nothing.
The default implementation of this method does nothing.
Reimplemented from decaf::io::OutputStream.
virtual void decaf::internal::io::StandardErrorOutputStream::doWriteArrayBounded |
( |
const unsigned char * |
buffer, |
|
|
int |
size, |
|
|
int |
offset, |
|
|
int |
length |
|
) |
| |
|
protectedvirtual |
virtual void decaf::internal::io::StandardErrorOutputStream::doWriteByte |
( |
unsigned char |
value | ) |
|
|
protectedvirtual |
virtual void decaf::internal::io::StandardErrorOutputStream::flush |
( |
| ) |
|
|
virtual |
Flushes this stream by writing any buffered output to the underlying stream.
- Exceptions
-
The default implementation of this method does nothing.
The default implementation of this method does nothing.
Reimplemented from decaf::io::OutputStream.
The documentation for this class was generated from the following file: