Public Member Functions | List of all members
GenbankParser Class Reference

#include <genbank.h>

Inheritance diagram for GenbankParser:
Inheritance graph
Collaboration diagram for GenbankParser:
Collaboration graph

Public Member Functions

 GenbankParser (GenBank &gbk_, Seq &seq_, GenbankReader &reader_)
void parse_section () OVERRIDE
const GenBank & get_data () const OVERRIDE
- Public Member Functions inherited from Parser
 Parser ()
int get_sourceline () const
const charget_sourcename () const
const Locationget_location () const
void set_source (const Location &other)
void set_source (const char *path, int linenumber)
void set_line_start (const char *start, int offset_in_line)
TokenListBlockparseTokenListBlock (const char *&in)
class Codeparse_program (const char *in, const char *filename)
 Parser (Seq &seq_, Reader &reader_)
virtual ~Parser ()
bool parse_entry () __ATTR__USERESULT

Additional Inherited Members

- Protected Attributes inherited from Parser
EntryState state

Detailed Description

Definition at line 107 of file genbank.h.

Constructor & Destructor Documentation

GenbankParser::GenbankParser ( GenBank &  gbk_,
Seq seq_,
GenbankReader reader_ 

Definition at line 112 of file genbank.h.

Member Function Documentation

void GenbankParser::parse_section ( )

Implements Parser.

Definition at line 238 of file genbank.cxx.

References ENTRY_STARTED, genbank_key_word(), Reader::line(), Parser::reader, Parser::state, and TOKENSIZE.

const GenBank& GenbankParser::get_data ( ) const

Implements Parser.

Definition at line 115 of file genbank.h.

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