Apache Log4cxx  Version 2.0.0
Loading...
Searching...
No Matches
log4cxx::helpers::OutputStream Class Referenceabstract

Abstract class for writing to character streams. More...

#include <outputstream.h>

Inheritance diagram for log4cxx::helpers::OutputStream:
log4cxx::helpers::Object log4cxx::helpers::ByteArrayOutputStream log4cxx::helpers::FileOutputStream log4cxx::helpers::SocketOutputStream

Public Member Functions

virtual void close ()=0
virtual void flush ()=0
virtual void write (ByteBuffer &buf)=0
void close (Pool &p)
void flush (Pool &p)
void write (ByteBuffer &buf, Pool &p)
Public Member Functions inherited from log4cxx::helpers::Object
virtual ~Object ()
virtual const helpers::Class & getClass () const =0
virtual bool instanceof (const Class &clazz) const =0
virtual const void * cast (const Class &clazz) const =0

Protected Member Functions

 OutputStream ()
virtual ~OutputStream ()

Detailed Description

Abstract class for writing to character streams.

Constructor & Destructor Documentation

◆ OutputStream()

log4cxx::helpers::OutputStream::OutputStream ( )
protected

◆ ~OutputStream()

virtual log4cxx::helpers::OutputStream::~OutputStream ( )
protectedvirtual

Member Function Documentation

◆ close() [1/2]

virtual void log4cxx::helpers::OutputStream::close ( )
pure virtual

◆ close() [2/2]

void log4cxx::helpers::OutputStream::close ( Pool & p)
Deprecated
Backward compatability support will be removed in a future version.
Deprecated
Use close() without a Pool parameter instead

◆ flush() [1/2]

virtual void log4cxx::helpers::OutputStream::flush ( )
pure virtual

◆ flush() [2/2]

void log4cxx::helpers::OutputStream::flush ( Pool & p)
Deprecated
Backward compatability support will be removed in a future version.
Deprecated
Use flush() without a Pool parameter instead

◆ write() [1/2]

virtual void log4cxx::helpers::OutputStream::write ( ByteBuffer & buf)
pure virtual

◆ write() [2/2]

void log4cxx::helpers::OutputStream::write ( ByteBuffer & buf,
Pool & p )
Deprecated
Backward compatability support will be removed in a future version.
Deprecated
Use write() without a Pool parameter instead

The documentation for this class was generated from the following file: