source: git/factory/cf_switches.cc @ 756676e

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