12 #ifndef INCL_CF_SWITCHES_H
13 #define INCL_CF_SWITCHES_H
56 void On (
int s ) { switches[
s] =
true; }
58 void Off (
int s ) { switches[
s] =
false; }
60 bool isOn (
int s )
const {
return switches[
s]; }
62 bool isOff (
int s )
const {
return ! switches[
s]; }
75 #define cf_glob_switches (CFSwitches::getInstance())
bool isOn(int s) const
check if 's' is on
const CanonicalForm int s
void On(int s)
switch 's' on
bool switches[CFSwitchesMax]
CFSwitches()
CFSwitches::CFSwitches ()
void Off(int s)
switch 's' off
const int CFSwitchesMax
const int CFSwitchesMax
static CFSwitches & getInstance()
bool isOff(int s) const
check if 's' is off