source: git/factory/cf_switches.cc @ 12f992

spielwiese
Last change on this file since 12f992 was 12f992, checked in by Martin Lee <martinlee84@…>, 10 years ago
chg: deleted SW_USE_NTL_GCD_*
  • Property mode set to 100644
File size: 744 bytes
Line 
1/* emacs edit mode for this file is -*- C++ -*- */
2
3//{{{ docu
4//
5// cf_switches.cc - definition of class CFSwitches.
6//
7// Used by: cf_globals.cc, ftest/ftest_util.cc
8//
9//}}}
10
11#ifdef HAVE_CONFIG_H
12#include "config.h"
13#endif /* HAVE_CONFIG_H */
14
15#include "cf_switches.h"
16#include "cf_defs.h"
17
18//{{{ CFSwitches::CFSwitches ()
19//{{{ docu
20//
21// CFSwitches::CFSwitches() - default constructor.
22//
23// Turns all switches off.
24//
25//}}}
26CFSwitches::CFSwitches ()
27{
28    for ( int i = 0; i < CFSwitchesMax; i++ )
29        switches[i] = false;
30// and set the default (recommended) On-values:
31#ifdef HAVE_NTL
32  On(SW_USE_CHINREM_GCD);
33  //Off(SW_USE_NTL_SORT);
34#endif
35  On(SW_USE_EZGCD);
36  //On(SW_USE_EZGCD_P); // still testing
37  On(SW_USE_QGCD);
38}
39//}}}
Note: See TracBrowser for help on using the repository browser.