Apache log4cxx Version 0.10.0
Reader Class Referenceabstract

Abstract class for reading from character streams. More...

#include <reader.h>

Inherits ObjectImpl.

Inherited by InputStreamReader.

Public Member Functions

virtual void close (Pool &p)=0
 Closes the stream.
virtual LogString read (Pool &p)=0
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

 Reader ()
 Creates a new character-stream reader.
virtual ~Reader ()

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 reading from character streams.

Constructor & Destructor Documentation

◆ Reader()

Reader ( )
protected

Creates a new character-stream reader.

◆ ~Reader()

virtual ~Reader ( )
protectedvirtual

Member Function Documentation

◆ close()

virtual void close ( Pool & p)
pure virtual

Closes the stream.

Parameters
pThe memory pool associated with the reader.

Implemented in InputStreamReader.

◆ read()

virtual LogString read ( Pool & p)
pure virtual
Returns
The complete stream contents as a LogString.
Parameters
pThe memory pool associated with the reader.

Implemented in InputStreamReader.


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