source:
cpp/frams/genetics/defgenoconv.cpp
@
241
Last change on this file since 241 was 228, checked in by , 11 years ago | |
---|---|
|
|
File size: 1.8 KB |
Rev | Line | |
---|---|---|
[121] | 1 | // This file is a part of the Framsticks GDK. |
[197] | 2 | // Copyright (C) 1999-2014 Maciej Komosinski and Szymon Ulatowski. See LICENSE.txt for details. |
[121] | 3 | // Refer to http://www.framsticks.com/ for further information. |
4 | ||
[109] | 5 | #include "defgenoconv.h" |
6 | ||
7 | #include GEN_CONFIG_FILE | |
8 | ||
[139] | 9 | #ifdef USE_GENCONV_f10 |
[121] | 10 | #include "f1/conv_f1.h" |
[109] | 11 | #endif |
[139] | 12 | #ifdef USE_GENCONV_f20 |
[121] | 13 | #include "f2/conv_f2.h" |
[109] | 14 | #endif |
[139] | 15 | #ifdef USE_GENCONV_f32 |
[121] | 16 | #include "f3/conv_f3.h" |
[109] | 17 | #endif |
[139] | 18 | #ifdef USE_GENCONV_f40 |
[121] | 19 | #include "f4/conv_f4.h" |
[109] | 20 | #endif |
[139] | 21 | #ifdef USE_GENCONV_f41_TEST |
[121] | 22 | #include "f4/conv_f4.h" |
[109] | 23 | #endif |
[139] | 24 | #ifdef USE_GENCONV_f50 |
[121] | 25 | #include "f5/conv_f5.h" |
[109] | 26 | #endif |
[139] | 27 | #ifdef USE_GENCONV_f60 |
[121] | 28 | #include "f6/geno_f6.h" |
[109] | 29 | #endif |
[139] | 30 | #ifdef USE_GENCONV_f70 |
[121] | 31 | #include "f7/conv_f7.h" |
[109] | 32 | #endif |
[228] | 33 | #ifdef USE_GENCONV_f81 |
[121] | 34 | #include "f8/conv_f8tof1.h" |
[109] | 35 | #endif |
[139] | 36 | #ifdef USE_GENCONV_f90 |
[121] | 37 | #include "f9/conv_f9.h" |
[109] | 38 | #endif |
[139] | 39 | #ifdef USE_GENCONV_fF0 |
40 | #include "fF/conv_fF.h" | |
41 | #endif | |
[109] | 42 | |
[145] | 43 | void DefaultGenoConvManager::addDefaultConverters() |
[109] | 44 | { |
[139] | 45 | #ifdef USE_GENCONV_f10 |
46 | addConverter(new GenoConv_f1()); | |
[109] | 47 | #endif |
[139] | 48 | #ifdef USE_GENCONV_f20 |
49 | addConverter(new GenoConv_f20()); | |
[109] | 50 | #endif |
[139] | 51 | #ifdef USE_GENCONV_f32 |
52 | addConverter(new GenoConv_f32()); | |
[109] | 53 | #endif |
[139] | 54 | #ifdef USE_GENCONV_f40 |
55 | addConverter(new GenoConv_f40()); | |
[109] | 56 | #endif |
[139] | 57 | #ifdef USE_GENCONV_f41_TEST |
58 | addConverter(new GenoConv_f41_TestOnly()); | |
[109] | 59 | #endif |
[139] | 60 | #ifdef USE_GENCONV_f50 |
61 | addConverter(new GenoConv_f50); | |
[109] | 62 | #endif |
[139] | 63 | #ifdef USE_GENCONV_f60 |
64 | addConverter(new GenoConv_f60); | |
[109] | 65 | #endif |
[139] | 66 | #ifdef USE_GENCONV_f70 |
67 | addConverter(new GenoConv_f70); | |
[109] | 68 | #endif |
[139] | 69 | #ifdef USE_GENCONV_f81 |
[228] | 70 | addConverter(new GenoConv_F8ToF1()); //uncompilable for now... needs lemon, and still borland complains for a hundred of unknown reasons with all kinds of nonsense messages :/ |
[109] | 71 | #endif |
[139] | 72 | #ifdef USE_GENCONV_f90 |
73 | addConverter(new GenoConv_f90); | |
[109] | 74 | #endif |
[139] | 75 | #ifdef USE_GENCONV_fF0 |
76 | addConverter(new GenoConv_fF0); | |
77 | #endif | |
[109] | 78 | |
[139] | 79 | param.updatetab(); |
[109] | 80 | } |
Note: See TracBrowser
for help on using the repository browser.