~berciu-deactivatedaccount/cristallparser/unstable-qt

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
#ifndef CRISTALLDETECTTOOLS_H
#define CRISTALLDETECTTOOLS_H
#include <vector>
#include <cstdlib>
#include <iostream>
#include <cctype>
#include <map>
#include "CristallHeader.h"
using namespace std;
using namespace Cristall;
class CristallDetectTools
{
protected:
    enum class Types
    {
        Coma = 3,
        Minus = 4,
        Alpha = 6,
        Digit = 7,
        None = 0
    };
    int searchInvoke(Rules Rule);
    CristallDetectTools::Types detectInvoke(char& Val);
    bool checkAlfanum(const string &str);
    bool checkFloatnum(const string &str);
    char OPTION_SEPARATEDFLOAT = '.';

};

#endif // CRISTALLDETECTTOOLS_H