Apache Log4cxx  Version 2.0.0
Loading...
Searching...
No Matches
log4cxx::helpers::OutputStreamWriter Class Reference

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

#include <outputstreamwriter.h>

Inheritance diagram for log4cxx::helpers::OutputStreamWriter:
log4cxx::helpers::Writer log4cxx::helpers::Object

Public Member Functions

 OutputStreamWriter (const OutputStreamPtr &out)
 OutputStreamWriter (const OutputStreamPtr &out, const CharsetEncoderPtr &enc)
 ~OutputStreamWriter ()
void close () override
void flush () override
void write (const LogString &str) override
LogString getEncoding () const
OutputStreamPtr getOutputStreamPtr () const
void close (Pool &p)
void flush (Pool &p)
void write (const LogString &str, Pool &p)
Public Member Functions inherited from log4cxx::helpers::Writer
void close (Pool &p)
void flush (Pool &p)
void write (const LogString &str, 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

Additional Inherited Members

Protected Member Functions inherited from log4cxx::helpers::Writer
 Writer ()
virtual ~Writer ()

Detailed Description

Abstract class for writing to character streams.

Constructor & Destructor Documentation

◆ OutputStreamWriter() [1/2]

log4cxx::helpers::OutputStreamWriter::OutputStreamWriter ( const OutputStreamPtr & out)

◆ OutputStreamWriter() [2/2]

log4cxx::helpers::OutputStreamWriter::OutputStreamWriter ( const OutputStreamPtr & out,
const CharsetEncoderPtr & enc )

◆ ~OutputStreamWriter()

log4cxx::helpers::OutputStreamWriter::~OutputStreamWriter ( )

Member Function Documentation

◆ close() [1/2]

void log4cxx::helpers::OutputStreamWriter::close ( )
overridevirtual

◆ close() [2/2]

Deprecated
Backward compatability support will be removed in a future version.
Deprecated
Use close() without a Pool parameter instead

◆ flush() [1/2]

void log4cxx::helpers::OutputStreamWriter::flush ( )
overridevirtual

◆ flush() [2/2]

Deprecated
Backward compatability support will be removed in a future version.
Deprecated
Use flush() without a Pool parameter instead

◆ getEncoding()

LogString log4cxx::helpers::OutputStreamWriter::getEncoding ( ) const

◆ getOutputStreamPtr()

OutputStreamPtr log4cxx::helpers::OutputStreamWriter::getOutputStreamPtr ( ) const

◆ write() [1/2]

void log4cxx::helpers::OutputStreamWriter::write ( const LogString & str)
overridevirtual

◆ write() [2/2]

void log4cxx::helpers::Writer::write ( const LogString & str,
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: