Apache log4cxx Version 0.10.0
BufferedOutputStream Class Reference

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

#include <bufferedoutputstream.h>

Inherits OutputStream.

Public Member Functions

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

Protected Member Functions

 BufferedOutputStream (OutputStreamPtr &out, size_t size=4096)
 ~BufferedOutputStream ()
Protected Member Functions inherited from OutputStream
 OutputStream ()
virtual ~OutputStream ()

Additional Inherited Members

Static Public Member Functions inherited from Object
static const helpers::ClassgetStaticClass ()
static const log4cxx::helpers::ClassRegistrationregisterClass ()
Protected Attributes inherited from ObjectImpl
unsigned int volatile ref

Detailed Description

Abstract class for writing to character streams.

Constructor & Destructor Documentation

◆ BufferedOutputStream()

BufferedOutputStream ( OutputStreamPtr & out,
size_t size = 4096 )
protected

◆ ~BufferedOutputStream()

~BufferedOutputStream ( )
protected

Member Function Documentation

◆ close()

void close ( Pool & p)
virtual

Implements OutputStream.

◆ flush()

void flush ( Pool & p)
virtual

Implements OutputStream.

◆ write()

void write ( ByteBuffer & buf,
Pool & p )
virtual

Implements OutputStream.


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