source: git/factory/cf_switches.cc @ 5cfbda

fieker-DuValspielwiese
Last change on this file since 5cfbda was b52d27, checked in by Martin Lee <martinlee84@…>, 10 years ago
chg: more docu changes
  • Property mode set to 100644
File size: 657 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_switches.h"
18#include "cf_defs.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); // still testing
38  On(SW_USE_QGCD);
39}
Note: See TracBrowser for help on using the repository browser.