-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAutoerrorLib.h
More file actions
32 lines (20 loc) · 1.1 KB
/
Copy pathAutoerrorLib.h
File metadata and controls
32 lines (20 loc) · 1.1 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
#pragma once
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <utility>
//using namespace std;
namespace autoerrorlib
{
struct data;
bool checkargs(std::vector <std::string> args1, std::vector <std::string> args2, unsigned i1, unsigned i2);
std::vector <std::string> stringparser(std::string str, unsigned beg, unsigned end);
std::vector <std::string> defparser(std::string str, std::vector <std::pair <char, char>> c, unsigned beg, unsigned end, unsigned index);
int gstr(std::string& name, std::vector <std::string>& arg, std::vector <std::string> strvec, const std::string func, unsigned i, unsigned frbck);
int goodstring(std::string& name, std::vector <std::string>& arg, std::string& erword, std::vector <std::string> strvec, const std::string func, unsigned i);
std::vector <std::string> wordparser(std::string str);
std::vector <std::string> spaceparser(std::string str, unsigned beg, unsigned end);
std::vector <struct data> erhandlerparser(std::string name);
int autoerror(std::string from, std::string to, std::string infofile);
}