cloudy  trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
broke.h
Go to the documentation of this file.
1 /* This file is part of Cloudy and is copyright (C)1978-2022 by Gary J. Ferland and
2  * others. For conditions of distribution and use see copyright notice in license.txt */
3 
4 #ifndef BROKE_H_
5 #define BROKE_H_
6 
9 #include "module.h"
10 
11 class FixitList: public Singleton<FixitList>
12 {
13  friend class Singleton<FixitList>;
14 protected:
15  FixitList() {}
16 public:
17  vector<string> list;
18 };
19 
20 struct t_broke : public module {
21  const char *chName() const
22  {
23  return "broke";
24  }
25  void zero() {}
26  void comment(t_warnings&);
30  bool lgBroke;
33  bool lgFixit;
35 
37  bool lgCheckit;
38 
39  };
40 extern t_broke broke;
41 
42 
43 #endif /* BROKE_H_ */
const char * chName() const
Definition: broke.h:21
FixitList()
Definition: broke.h:15
bool lgBroke
Definition: broke.h:30
void zero()
Definition: broke.h:25
Definition: broke.h:20
void comment(t_warnings &)
Definition: broke.cpp:12
bool lgPrintFixits
Definition: broke.h:34
bool lgFixit
Definition: broke.h:33
t_broke broke
Definition: broke.cpp:10
vector< string > list
Definition: broke.h:17
Definition: module.h:26
bool lgCheckit
Definition: broke.h:37