-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdata_file.h
More file actions
39 lines (29 loc) · 725 Bytes
/
data_file.h
File metadata and controls
39 lines (29 loc) · 725 Bytes
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
#ifndef DATA_FILE_H
#define DATA_FILE_H
#include <QByteArray>
#include <QList>
#include <QString>
#include <iostream>
#include <fstream>
#include "node.h"
using namespace std;
class Data_File
{
public:
Data_File(QString path, QString destiny);
void Data_Receive(QString path);
void FindExtension(QString path);
void SaveData(unsigned char *data, QString path, QString Name);
void SaveFrequency(QString path, QString Name);
char *QstringToChar(QString toConvert);
void FrequencyToZero();
void Frequency();
void Sort();
QList<Node*> toList();
private:
long sizeData;
unsigned char *bytes;
long int data_frequency[256][2];
QString type;
};
#endif // DATA_FILE_H