-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSequenceAnalyzer.cpp
More file actions
59 lines (44 loc) · 1.53 KB
/
SequenceAnalyzer.cpp
File metadata and controls
59 lines (44 loc) · 1.53 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/*
* SequenceAnalyzer.cpp
* Written by: Mark Koh
* DARwIn-OP Dance Synthesis Project
* 06/04/2013
*
* Description: This class takes a file with either a JSON or proprietary sequence list and loads them
* into a SequenceTable.
*
*/
#include "SequenceAnalyzer.h"
using namespace std;
//-------------------------------------------------
//-------------- Constructors ---------------------
//-------------------------------------------------
SequenceAnalyzer::SequenceAnalyzer() {
//Initialize anything that we need to initialize here
//The user will need to load a file now using the load function
}
//-------------------------------------------------
//-------------- Destructor ---------------------
//-------------------------------------------------
SequenceAnalyzer::~SequenceAnalyzer() {
}
//-------------------------------------------------
//-------------- Inspectors - ---------------------
//-------------------------------------------------
SequenceTable SequenceAnalyzer::getSequenceTable() const {
return _table;
}
//-------------------------------------------------
//-------------- Mutators -------------------------
//-------------------------------------------------
//void SequenceAnalyzer::addSequence(
//Ignore commented lines
void IgnoreComments(ifstream & file) {
string scrap;
//Process file until next non-commented line
while (!file.eof() && file.peek() == '#') {
//file.getline();
//file.ignore(std::numeric_limits<std::streamsize>::max(), '\n');
getline(file,scrap);
}
}