Abstract class for writing to character streams. More...
Inherits log4cxx::helpers::ObjectImpl.
Inherited by BufferedOutputStream, ByteArrayOutputStream, FileOutputStream, and SocketOutputStream.
Classes | |
class | ClazzOutputStream |
Public Member Functions | |
virtual const helpers::Class & | getClass () const |
const void * | cast (const helpers::Class &clazz) const |
bool | instanceof (const helpers::Class &clazz) const |
virtual void | close (Pool &p)=0 |
virtual void | flush (Pool &p)=0 |
virtual void | write (ByteBuffer &buf, Pool &p)=0 |
Static Public Member Functions | |
static const helpers::Class & | getStaticClass () |
static const log4cxx::helpers::ClassRegistration & | registerClass () |
Protected Member Functions | |
OutputStream () | |
virtual | ~OutputStream () |
Abstract class for writing to character streams.
OutputStream | ( | ) | [protected] |
virtual ~OutputStream | ( | ) | [protected, virtual] |
const void* cast | ( | const helpers::Class & | clazz | ) | const [inline, virtual] |
Implements Object.
Reimplemented in SocketOutputStream.
virtual void close | ( | Pool & | p | ) | [pure virtual] |
Implemented in BufferedOutputStream, ByteArrayOutputStream, FileOutputStream, and SocketOutputStream.
virtual void flush | ( | Pool & | p | ) | [pure virtual] |
Implemented in BufferedOutputStream, ByteArrayOutputStream, FileOutputStream, and SocketOutputStream.
virtual const helpers::Class& getClass | ( | ) | const [virtual] |
Reimplemented from Object.
Reimplemented in SocketOutputStream.
static const helpers::Class& getStaticClass | ( | ) | [static] |
Reimplemented from Object.
Reimplemented in SocketOutputStream.
bool instanceof | ( | const helpers::Class & | clazz | ) | const [inline, virtual] |
Implements Object.
Reimplemented in SocketOutputStream.
static const log4cxx::helpers::ClassRegistration& registerClass | ( | ) | [static] |
Reimplemented from Object.
Reimplemented in SocketOutputStream.
virtual void write | ( | ByteBuffer & | buf, | |
Pool & | p | |||
) | [pure virtual] |
Implemented in BufferedOutputStream, ByteArrayOutputStream, FileOutputStream, and SocketOutputStream.