Apache Log4cxx  Version 1.8.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

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

void log4cxx::helpers::Reader::close ( )

Closes the stream.

◆ close() [2/2]

virtual void log4cxx::helpers::Reader::close ( Pool & p)
pure virtual
Deprecated
The pool parameter is not used and will be removed in a future version. Implement this method for now, but plan to migrate to close() without a helpers::Pool parameter.

Implemented in log4cxx::helpers::InputStreamReader.

◆ read() [1/2]

LogString log4cxx::helpers::Reader::read ( )
Returns
The complete stream contents as a LogString.

◆ read() [2/2]

virtual LogString log4cxx::helpers::Reader::read ( Pool & p)
pure virtual
Deprecated
The pool parameter is not used and will be removed in a future version. Implement this method for now, but plan to migrate to read() without a helpers::Pool parameter.

Implemented in log4cxx::helpers::InputStreamReader.


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