Apache log4cxx  Version 0.10.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules
Reader Class Referenceabstract

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

Inheritance diagram for Reader:
ObjectImpl Object InputStreamReader

Public Member Functions

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

Creates a new character-stream reader.

virtual ~Reader ( )
protectedvirtual

Member Function Documentation

virtual void close ( Pool p)
pure virtual

Closes the stream.

Parameters
pThe memory pool associated with the reader.

Implemented in InputStreamReader.

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: