CrowdSenSim  1.0
Sample.h
Go to the documentation of this file.
1 /*
2  * Sample.h
3 
4  *
5  * Created on: 30 giu 2016
6  * Author: Giuseppe Cacciatore
7  */
8 
9 #ifndef SAMPLE_H_
10 #define SAMPLE_H_
11 
12 #include <fstream>
13 #include <iostream>
14 #include <string>
15 #include <cstdlib>
16 #include <sstream>
17 #include <vector>
18 #include <cmath>
19 #include <stdlib.h>
20 #include <map>
21 #include <list>
22 #include <algorithm>
23 #include <iomanip>
24 
25 #include "Position.h"
26 
27 using namespace std;
28 
29 struct Sample{
30 
31  string type;
32  float value;
33  float size;
34  bool ifsent;
37  Sample(string A, float B, float C, bool D, Position E): type (A), value(B), size(C), ifsent(D), pos(E){}
38 };
39 
40 typedef std::list<Sample> Samples;
41 
42 
43 #endif /* SAMPLE_H_ */
std::list< Sample > Samples
Definition: Sample.h:40
bool ifsent
Definition: Sample.h:34
Sample(string A, float B, float C, bool D, Position E)
Definition: Sample.h:37
Definition: Sample.h:29
string type
Definition: Sample.h:31
float size
Definition: Sample.h:33
Definition: Position.h:16
Position pos
Definition: Sample.h:35
float value
Definition: Sample.h:32