Apache Log4cxx  Version 1.3.0
Loading...
Searching...
No Matches
log4cxx::helpers::FileOutputStream Class Reference

OutputStream implemented on top of APR file IO. More...

#include <fileoutputstream.h>

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

Public Member Functions

 FileOutputStream (const LogString &filename, bool append=false)
 
 FileOutputStream (const logchar *filename, bool append=false)
 
virtual ~FileOutputStream ()
 
void close (Pool &p) override
 
void flush (Pool &p) override
 
void write (ByteBuffer &buf, Pool &p) override
 
apr_file_t * getFilePtr () const
 
virtual void close (Pool &p)=0
 
virtual void flush (Pool &p)=0
 
virtual void write (ByteBuffer &buf, 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::OutputStream
 OutputStream ()
 
virtual ~OutputStream ()
 

Detailed Description

OutputStream implemented on top of APR file IO.

Constructor & Destructor Documentation

◆ FileOutputStream() [1/2]

log4cxx::helpers::FileOutputStream::FileOutputStream ( const LogString filename,
bool  append = false 
)

◆ FileOutputStream() [2/2]

log4cxx::helpers::FileOutputStream::FileOutputStream ( const logchar *  filename,
bool  append = false 
)

◆ ~FileOutputStream()

virtual log4cxx::helpers::FileOutputStream::~FileOutputStream ( )
virtual

Member Function Documentation

◆ close()

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

◆ flush()

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

◆ getFilePtr()

apr_file_t * log4cxx::helpers::FileOutputStream::getFilePtr ( ) const

◆ write()

void log4cxx::helpers::FileOutputStream::write ( ByteBuffer buf,
Pool p 
)
overridevirtual

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