-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSequencer.h
36 lines (32 loc) · 890 Bytes
/
Sequencer.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#ifndef SEQUENCER_H
#define SEQUENCER_H
#include "DNA.h"
#include <fstream>
#include <string>
#include <iostream>
#include <cstdlib>
using namespace std;
class Sequencer {
public:
//name: Sequencer (default constructor)
//pre: A linked list (DNA) is available
//post: A linked list (DNA) where m_head and m_tail points to NULL
// m_size is also populated with SizeOf
Sequencer(string fileName);
//name: Sequencer (destructor)
//pre: There is an existing linked list (DNA)
//post: A linked list (DNA) is deallocated (including nucleotides) to have no memory leaks!
~Sequencer();
//name: readFile
//pre: Valid file name of characters (Either A, T, G, or C)
//post: Populates the LinkedList (DNA)
void readFile();
//name: mainMenu
//pre: Populated LinkedList (DNA)
//post: None
void mainMenu();
private:
DNA m_dna;
string m_fileName;
};
#endif