00001 #ifndef GLOBALS_H 00002 #define GLOBALS_H 00003 00004 #include "LogStream.h" 00005 #include "fstream" 00006 #include "string" 00007 00008 class Globals 00009 { 00010 public: 00011 Globals() 00012 : xmp_file_name("\\Paradigm.xmp") 00013 , err_file_name("\\Paradigm.xmp.log") 00014 , silent_mode ( false) 00015 , genConstr() 00016 { } 00017 00018 LogStream err; 00019 std::ofstream dmp; 00020 00021 std::string xmp_file_name; 00022 std::string err_file_name; 00023 00024 bool silent_mode; 00025 00026 class GeneratedConstraints 00027 { 00028 public: 00029 GeneratedConstraints( ) 00030 : reg_cont_mask( 0) 00031 , fol_cont_mask( 0) 00032 , connect_mask ( 0) 00033 , priority ( 1) 00034 { } 00035 00036 int reg_cont_mask; 00037 int fol_cont_mask; 00038 int connect_mask; 00039 int priority; 00040 00041 } genConstr; 00042 }; 00043 00044 #endif // GLOBALS_H