Changeset 348 for cpp/frams/genetics/geno.h
- Timestamp:
- 04/09/15 23:51:28 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/genetics/geno.h
r346 r348 118 118 119 119 // managing global Geno-related objects (used for validation and conversion) 120 static Validators& getValidators(); 121 static void addValidator(GenoValidator* gv,int at_position=9999) { getValidators().insert(at_position,gv); } 122 static void removeValidator(GenoValidator* gv) { getValidators() -= gv; } 123 static void useConverters(GenoConvManager& gcm) { converters = &gcm; } 124 static GenoConvManager &getConverters() { return *converters; } 125 protected: 126 static GenoConvManager *converters; 120 static Validators* useValidators(Validators* val); 121 static Validators* getValidators(); 122 123 static GenoConvManager* useConverters(GenoConvManager* gcm); 124 static GenoConvManager* getConverters(); 127 125 }; 128 126
Note: See TracChangeset
for help on using the changeset viewer.