Menu

[r16]: / src / rule.h  Maximize  Restore  History

Download this file

29 lines (24 with data), 569 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
#ifndef RULE_H
#define RULE_H
#include <string>
#include "wrapregex.h"
using namespace std;
class Rule : public WrapRegex
{
public:
Rule(
const string& pattern,
bool matchCase,
const string& replace = "",
const int arrayLength = 60);
bool getAdjustCaseAttribute();
bool getTentativeAttribute();
string getReport();
void setReport(string &s);
void setAdjustCaseAttribute(bool b);
void setTentativeAttribute(bool b);
private:
bool adjustCaseAttribute, tentativeAttribute;
string reportString;
};
#endif
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.