ARB
Public Member Functions | Protected Member Functions | List of all members
BufferedFileReader Class Reference

#include <BufferedFileReader.h>

Inheritance diagram for BufferedFileReader:
Inheritance graph
[legend]
Collaboration diagram for BufferedFileReader:
Collaboration graph
[legend]

Public Member Functions

 BufferedFileReader (const string &filename_, FILE *in)
 
virtual ~BufferedFileReader ()
 
bool good ()
 
void rewind ()
 
const stringgetFilename () const FINAL_OVERRIDE
 
 PREPARE_MARK_NONFINAL_CLASS (BufferedFileReader)
 
- Public Member Functions inherited from LineReader
 LineReader ()
 
virtual ~LineReader ()
 
string lineError (const string &msg) const
 
string lineError (const char *msg) const
 
void showFilenameInLineError (bool show)
 
virtual bool getLine (string &line)
 
void backLine (const string &line)
 
size_t getLineNumber () const
 
void setLineNumber (size_t line)
 
void copyTo (FILE *out)
 

Protected Member Functions

FILE *& get_fp ()
 
- Protected Member Functions inherited from LineReader
void reset ()
 

Detailed Description

Definition at line 103 of file BufferedFileReader.h.

Constructor & Destructor Documentation

BufferedFileReader::BufferedFileReader ( const string filename_,
FILE *  in 
)
inline

Definition at line 120 of file BufferedFileReader.h.

References BUFFERSIZE, and fb_assert.

virtual BufferedFileReader::~BufferedFileReader ( )
inlinevirtual

Definition at line 128 of file BufferedFileReader.h.

Member Function Documentation

FILE*& BufferedFileReader::get_fp ( )
inlineprotected
bool BufferedFileReader::good ( )
inline

Definition at line 132 of file BufferedFileReader.h.

void BufferedFileReader::rewind ( )
const string& BufferedFileReader::getFilename ( ) const
inlinevirtual

Implements LineReader.

Definition at line 135 of file BufferedFileReader.h.

Referenced by print_xs_default().

BufferedFileReader::PREPARE_MARK_NONFINAL_CLASS ( BufferedFileReader  )

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