1 #ifndef theplu_yat_omic_gff
2 #define theplu_yat_omic_gff
63 const std::string&
attribute(
const std::string& key)
const;
70 const std::map<std::string, std::string>&
attributes(
void)
const;
75 const std::string&
end(
void)
const;
80 const std::string&
phase(
void)
const;
85 const std::string&
score(
void)
const;
90 const std::string&
seqid(
void)
const;
95 const std::string&
source(
void)
const;
100 const std::string&
start(
void)
const;
105 const std::string&
strand(
void)
const;
110 const std::string&
type(
void)
const;
115 const std::vector<std::string>&
vec(
void)
const;
125 friend bool getline(std::istream&,
GFF&);
126 virtual void add_attribute(std::map<std::string, std::string>& m,
127 const std::string&)
const=0;
129 void create_attributes(std::map<std::string, std::string>& m)
const;
130 std::vector<std::string> vec_;
131 std::map<std::string, std::string> attributes_;
142 bool getline(std::istream&
is,
GFF& gff);
150 std::ostream& operator<<(std::ostream& os,
const GFF& gff);
bool is(const std::string &s)
check if string is convertible to (numerical) type T
Definition: utility.h:483
GFF(void)
Default Constructor.
const std::string & start(void) const
const std::string & strand(void) const
const std::string & source(void) const
const std::string & seqid(void) const
const std::vector< std::string > & vec(void) const
const std::string & score(void) const
virtual ~GFF(void)
Destructor.
const std::string & attribute(const std::string &key) const
const std::string & type(void) const
friend std::ostream & operator<<(std::ostream &, const GFF &)
protected friend
const std::string & phase(void) const
const std::map< std::string, std::string > & attributes(void) const
const std::string & end(void) const