-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAtomic.h
46 lines (31 loc) · 943 Bytes
/
Atomic.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
37
38
39
40
41
42
43
44
45
46
#pragma once
#include <iostream>
#include <string>
#include <vector>
#include <fstream>
#include <iomanip>
#include <algorithm>
#include <string.h>
class Atomic {
//Files
std::string File_OriginalLine = "N/A";
std::string File_Replacment = "N/A";
//Arrays of string(The sentence to be changed)
std::vector<std::string> OriginalLines;
//Parrallel Arrays/Replacement slots
std::vector<std::string>ReplacementName;
std::vector<std::string>ReplacementCode;
std::vector<std::string>ReplacementTie;
//Completed Lines, the output to the user.
std::vector<std::string> ChangedLines;
//The count of how many matches that can be found
size_t Replacement_Count;
public:
int LoadFiles();
void SetFileName(std::string a, std::string b);
void GetFileName();
void ListFileEntry();
int isEqual(std::string a, std::string b);
std::string Run();
};
std::string Lower(std::string a);