~berciu-deactivatedaccount/cristallparser/unstable-qt

« back to all changes in this revision

Viewing changes to CristallDetectTools.h

  • Committer: Sylwke3100
  • Date: 2013-07-23 19:01:43 UTC
  • Revision ID: git-v1:29c7caf42abecae12080bc1dc6489334d740d717
Create enum when define Types object from Rule

Signed-off-by: Sylwke3100 <sylwek3100@gmail,com>

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
class CristallDetectTools
12
12
{
13
13
protected:
 
14
    enum class Types
 
15
    {
 
16
        Coma = 3,
 
17
        Minus = 4,
 
18
        Alpha = 6,
 
19
        Digit = 7,
 
20
        None = 0
 
21
    };
14
22
    int searchInvoke(Rules Rule);
15
 
    int detectInvoke(char& Val);
 
23
    CristallDetectTools::Types detectInvoke(char& Val);
16
24
    bool checkAlfanum(const string &str);
17
25
    bool checkFloatnum(const string &str);
18
26
    char OPTION_SEPARATEDFLOAT = '.';
 
27
 
19
28
};
20
29
 
21
30
#endif // CRISTALLDETECTTOOLS_H