Apache Log4cxx Version 1.1.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 (OutputStreamPtr &out)
 
 OutputStreamWriter (OutputStreamPtr &out, CharsetEncoderPtr &enc)
 
 ~OutputStreamWriter ()
 
void close (Pool &p) override
 
void flush (Pool &p) override
 
void write (const LogString &str, Pool &p) override
 
LogString getEncoding () const
 
OutputStreamPtr getOutputStreamPtr () const
 
virtual void close (Pool &p)=0
 
virtual void flush (Pool &p)=0
 
virtual void write (const LogString &str, Pool &p)=0
 
- Public Member Functions inherited from log4cxx::helpers::Object
virtual ~Object ()
 
virtual const helpers::ClassgetClass () 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 ( OutputStreamPtr &  out)

◆ OutputStreamWriter() [2/2]

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

◆ ~OutputStreamWriter()

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

Member Function Documentation

◆ close()

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

◆ flush()

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

◆ getEncoding()

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

◆ getOutputStreamPtr()

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

◆ write()

void log4cxx::helpers::OutputStreamWriter::write ( const LogString str,
Pool p 
)
overridevirtual

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