-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathDemacroficationScheme.h
More file actions
42 lines (36 loc) · 1.16 KB
/
Copy pathDemacroficationScheme.h
File metadata and controls
42 lines (36 loc) · 1.16 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
33
34
35
36
37
38
39
40
41
42
#ifndef DEMACROFICATIONSCHEME_H
#define DEMACROFICATIONSCHEME_H
/**
* @file DemacroficationScheme.h
* @brief contains the details which will be used by the Parser class
* and other subclasses for configuration
* @version 1.0
* @author Aditya Kumar
* @note
* compiles with g++-4.5 or higher,
* for compiling pass -std=c++0x to the compiler
*/
#include "string_utils.hpp"
#include "ValidatorMap.h"
#include<string>
#include<set>
/**
* @struct DemacroficationScheme
* @brief contains the details which will be used by the Parser class
* and other subclasses for configuration
*/
struct DemacroficationScheme {
///@var enableWarningFlag
///@details whether to enable the warning or not
///to be used instead of the ENABLE_WARNING macro
///if this flag is set then check for the struct warningLogFile
bool enableWarningFlag;
bool multipleDefinitions;
bool performCleanup;
std::set<std::string, general_utilities::SortString> macrosPreventingDemacrofication;
std::string demacroficationGranularity;
std::string globalMacrosRaw;
std::string globalMacrosFormatted;
ValidatorMap validatorMap;
};
#endif // DEMACROFICATIONSCHEME_H