ARB
Public Member Functions | List of all members
Reader Class Reference

#include <reader.h>

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

Public Member Functions

 Reader (const char *inf)
 
virtual ~Reader ()
 
void rewind ()
 
Readeroperator++ ()
 
const charline () const
 
void set_line (const char *new_line)
 
bool failed () const
 
bool ok () const
 
void abort ()
 
void ignore_rest_of_file ()
 
template<class PRED >
void skipOverLinesThat (const PRED &match_condition)
 
 PREPARE_MARK_NONFINAL_CLASS (Reader)
 
 Reader (istream &in_)
 
virtual ~Reader ()
 
const chargetNext ()
 
void back ()
 
int getLineNo () const
 
- Public Member Functions inherited from MessageAttachable
virtual ~MessageAttachable ()
 
LineAttachedMessage attached_message (const string &message) const
 
void attach_warning (const string &message) const
 

Detailed Description

Definition at line 21 of file reader.h.

Constructor & Destructor Documentation

Reader::Reader ( const char inf)

Definition at line 4 of file reader.cxx.

References NULp, LineReader::showFilenameInLineError(), and throw_errorf().

Reader::~Reader ( )
virtual
Reader::Reader ( istream &  in_)
inline

Definition at line 223 of file arb_help2xml.cxx.

virtual Reader::~Reader ( )
inlinevirtual

Definition at line 224 of file arb_help2xml.cxx.

Member Function Documentation

void Reader::rewind ( )
inline

Definition at line 39 of file reader.h.

References BufferedFileReader::rewind().

Referenced by SimpleFormatReader::rewind(), and MackeReader::rewind().

Reader& Reader::operator++ ( )
inline

Definition at line 41 of file reader.h.

const char* Reader::line ( ) const
inline
void Reader::set_line ( const char new_line)
inline

Definition at line 45 of file reader.h.

References ca_assert, and LINESIZE.

Referenced by genbank_comments().

bool Reader::failed ( ) const
inline

Definition at line 51 of file reader.h.

Referenced by SimpleFormatReader::failed(), and MackeReader::failed().

bool Reader::ok ( ) const
inline

Definition at line 52 of file reader.h.

Referenced by EmblSwissprotReader::read_one_entry(), and GenbankReader::read_one_entry().

void Reader::abort ( )
inline

Definition at line 54 of file reader.h.

References NULp.

Referenced by EmblSwissprotReader::read_one_entry(), and GenbankReader::read_one_entry().

void Reader::ignore_rest_of_file ( )
inline

Definition at line 55 of file reader.h.

References NULp.

Referenced by SimpleFormatReader::ignore_rest_of_file(), and MackeReader::ignore_rest_of_file().

template<class PRED >
void Reader::skipOverLinesThat ( const PRED &  match_condition)
inline

Definition at line 58 of file reader.h.

References line().

Referenced by genbank_skip_unidentified().

Reader::PREPARE_MARK_NONFINAL_CLASS ( Reader  )
const char* Reader::getNext ( )
inline

Definition at line 226 of file arb_help2xml.cxx.

References NULp.

Referenced by parseSection(), and Helpfile::readHelp().

void Reader::back ( )
inline

Definition at line 232 of file arb_help2xml.cxx.

References h2x_assert.

Referenced by parseSection().

int Reader::getLineNo ( ) const
inline

Definition at line 237 of file arb_help2xml.cxx.

Referenced by parseSection(), and Helpfile::readHelp().


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