iVar: src/primer_bed.h Source File

iVar

primer_bed.h
1 #include<string>
2 #include<vector>
3
4 #ifndef primer_bed
5 #define primer_bed
6
7 class primer {
8 private:
9 std::string region;
10 unsigned int start;
11 unsigned int end;
12 std::string name;
13 int score;
14 char strand;
15
16 public:
17 std::string get_name();
18 std::string get_region();
19 int get_score();
20 unsigned int get_start();
21 unsigned int get_end();
22 char get_strand();
23 int get_length();
24 void set_start(unsigned int s);
25 void set_end(unsigned int e);
26 void set_strand(char s);
27 void set_region(std::string r);
28 void set_name(std::string n);
29 void set_score(int s);
30 };
31
32 std::vector<primer> populate_from_file(std::string path);
33
34 #endif
primer
Definition: primer_bed.h:7