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

#include <genbank.h>

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

Public Member Functions

 GenbankReader (const char *inf)
 
const charget_key_word (int offset)
 
bool read_one_entry (Seq &seq) OVERRIDE __ATTR__USERESULT
 
InputFormatget_data () OVERRIDE
 
- Public Member Functions inherited from SimpleFormatReader
 SimpleFormatReader (const char *inf)
 
bool failed () const OVERRIDE
 
void ignore_rest_of_file () OVERRIDE
 
void rewind () OVERRIDE
 
- Public Member Functions inherited from Reader
 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
 
- Public Member Functions inherited from FormatReader
virtual ~FormatReader ()
 

Additional Inherited Members

- Static Public Member Functions inherited from FormatReader
static SmartPtr< FormatReadercreate (const FormattedFile &in)
 

Detailed Description

Definition at line 90 of file genbank.h.

Constructor & Destructor Documentation

GenbankReader::GenbankReader ( const char inf)
inline

Definition at line 93 of file genbank.h.

Member Function Documentation

const char* GenbankReader::get_key_word ( int  offset)
inline

Definition at line 95 of file genbank.h.

References genbank_key_word(), Reader::line(), shorttimecopy(), and TOKENSIZE.

bool GenbankReader::read_one_entry ( Seq seq)
virtual

Implements FormatReader.

Definition at line 459 of file genbank.cxx.

References Reader::abort(), and Reader::ok().

InputFormat& GenbankReader::get_data ( )
inlinevirtual

Implements FormatReader.

Definition at line 101 of file genbank.h.


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