Apache Log4cxx  Version 1.3.0
Loading...
Searching...
No Matches
log4cxx::helpers::Reader Class Referenceabstract

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

#include <reader.h>

Inheritance diagram for log4cxx::helpers::Reader:
log4cxx::helpers::Object log4cxx::helpers::InputStreamReader

Public Member Functions

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

Protected Member Functions

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

Detailed Description

Abstract class for reading from character streams.

Constructor & Destructor Documentation

◆ Reader()

log4cxx::helpers::Reader::Reader ( )
protected

Creates a new character-stream reader.

◆ ~Reader()

virtual log4cxx::helpers::Reader::~Reader ( )
protectedvirtual

Member Function Documentation

◆ close()

virtual void log4cxx::helpers::Reader::close ( Pool p)
pure virtual

Closes the stream.

Parameters
pThe memory pool associated with the reader.

Implemented in log4cxx::helpers::InputStreamReader.

◆ read()

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

Implemented in log4cxx::helpers::InputStreamReader.


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