Public Member Functions | Protected Member Functions | List of all members
LineReader Class Referenceabstract

#include <BufferedFileReader.h>

Inheritance diagram for LineReader:
Inheritance graph
Collaboration diagram for LineReader:
Collaboration graph

Public Member Functions

 LineReader ()
virtual ~LineReader ()
string lineError (const string &msg) const
string lineError (const char *msg) const
void showFilenameInLineError (bool show)
bool getLine (string &line)
void backLine (const string &line)
size_t getLineNumber () const
void setLineNumber (size_t line)
virtual const stringgetFilename () const =0
void copyTo (FILE *out)

Protected Member Functions

void reset ()

Detailed Description

Definition at line 34 of file BufferedFileReader.h.

Constructor & Destructor Documentation

LineReader::LineReader ( )

Definition at line 54 of file BufferedFileReader.h.

virtual LineReader::~LineReader ( )

Definition at line 59 of file BufferedFileReader.h.

Member Function Documentation

void LineReader::reset ( )

Definition at line 45 of file BufferedFileReader.h.

References NULp.

string LineReader::lineError ( const string msg) const
string LineReader::lineError ( const char msg) const

Definition at line 64 of file BufferedFileReader.h.

References lineError().

Referenced by lineError().

void LineReader::showFilenameInLineError ( bool  show)

Definition at line 66 of file BufferedFileReader.h.

Referenced by GI_importGenomeFile(), and Reader::Reader().

bool LineReader::getLine ( string line)
void LineReader::backLine ( const string line)

Definition at line 79 of file BufferedFileReader.h.

References fb_assert, and string().

Referenced by GI_importGenomeFile(), and Importer::import().

size_t LineReader::getLineNumber ( ) const

Definition at line 85 of file BufferedFileReader.h.

Referenced by gb_parse_ascii(), and throwParseError().

void LineReader::setLineNumber ( size_t  line)

Definition at line 86 of file BufferedFileReader.h.

References line.

virtual const string& LineReader::getFilename ( ) const
pure virtual

Implemented in BufferedFileReader, and FINAL_TYPE< SEQTYPE >.

Referenced by throwParseError().

void LineReader::copyTo ( FILE *  out)

Definition at line 90 of file BufferedFileReader.h.

References fputc(), fputs(), getLine(), and line.

Referenced by print_xs_default().

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