source: git/factory/cf_switches.cc @ 362fc67

jengelh-datetimespielwiese
Last change on this file since 362fc67 was 362fc67, checked in by Martin Lee <martinlee84@…>, 11 years ago
chg: remove $Id$
  • Property mode set to 100644
File size: 768 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#include "config.h"
12
13#include "cf_switches.h"
14#include "cf_defs.h"
15
16//{{{ CFSwitches::CFSwitches ()
17//{{{ docu
18//
19// CFSwitches::CFSwitches() - default constructor.
20//
21// Turns all switches off.
22//
23//}}}
24CFSwitches::CFSwitches ()
25{
26    for ( int i = 0; i < CFSwitchesMax; i++ )
27        switches[i] = false;
28// and set the default (recommended) On-values:
29#ifdef HAVE_NTL
30  On(SW_USE_NTL);
31  On(SW_USE_CHINREM_GCD);
32  //Off(SW_USE_NTL_GCD_0);
33  //Off(SW_USE_NTL_GCD_P);
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}
40//}}}
Note: See TracBrowser for help on using the repository browser.