Changeset 129 for cpp


Ignore:
Timestamp:
02/10/14 20:21:05 (11 years ago)
Author:
sz
Message:

conv_test now uses the DefaultGenoConvManager? which automatically enables all converters (currently f1 and f9), not just the ones explicitly added inside conv_test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/_demos/conv_test.cpp

    r121 r129  
    44
    55#include <ctype.h>
    6 #include <frams/genetics/genoconv.h>
     6#include <frams/genetics/defgenoconv.h>
    77#include <frams/model/model.h>
    88#include <frams/util/multimap.h>
    9 #include <frams/genetics/f1/conv_f1.h>
    109
    1110#include "printconvmap.h"
     
    120119int main(int argc,char *argv[])
    121120{
    122 GenoConvManager gcm;
     121DefaultGenoConvManager gcm;
    123122gcm.addConverter(new GenoConv_Test());
    124123gcm.addConverter(new GenoConv_Test2());
    125124gcm.addConverter(new GenoConv_Test3());
    126 gcm.addConverter(new GenoConv_F1());
    127125
    128126const char* src=(argc>1)?argv[1]:"X";
Note: See TracChangeset for help on using the changeset viewer.