81 if (locus_contains_date())
return strndup(locus+50, 11);
110 void parse_keyed_section(
const char *key);
119 #error genbank.h included twice
CONSTEXPR_INLINE int str0len(const char *str)
const GenBank & get_data() const OVERRIDE
char * ARB_strdup(const char *str)
Format format() const OVERRIDE
DECLARE_ASSIGNMENT_OPERATOR(GenbankRef)
const char * genbank_date(const char *other_date)
InputFormat & get_data() OVERRIDE
const char * get_key_word(int offset)
GenbankReader(const char *inf)
GenbankRef(const GenbankRef &other)
void genbank_key_word(const char *line, int index, char *key)
const char * today_date()
bool read_one_entry(Seq &seq) OVERRIDE __ATTR__USERESULT
#define __ATTR__USERESULT
const char * shorttimecopy(const char *nocopy)
const char * line() const
GenbankParser(GenBank &gbk_, Seq &seq_, GenbankReader &reader_)
void parse_section() OVERRIDE
bool locus_contains_date() const
char * strndup(const char *str, int len)