- Timestamp:
- 07/14/15 00:42:32 (9 years ago)
- Location:
- cpp/frams/vm/classes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/vm/classes/genoobj.cpp
r286 r415 11 11 ParamEntry geno_paramtab[]= 12 12 { 13 {"Geno",1,1 4,"Geno","All information about a single genotype.\nThis is a genetics-only object which does not contain any performance data. See also: Genotype class"},13 {"Geno",1,15,"Geno","All information about a single genotype.\nThis is a genetics-only object which does not contain any performance data. See also: Genotype class"}, 14 14 {"name",0,PARAM_NOSTATIC,"Name","s 0 40",GETSET(name),}, 15 15 {"rawgenotype",0,PARAM_NOSTATIC | PARAM_READONLY,"Raw genotype","s 1",GETONLY(genotype),"Genotype, excluding the format specifier"}, 16 16 {"info",0,PARAM_NOSTATIC,"Info","s 1",GETSET(info),"Additional information or comments",}, 17 17 {"format",0,PARAM_NOSTATIC | PARAM_READONLY,"Format","d",GETONLY(format),"Genotype format",}, 18 {"genotype",0,PARAM_NOSTATIC | PARAM_READONLY,"Genotype","s 1",GETONLY(string),}, 19 {"isValid",0,PARAM_NOSTATIC | PARAM_READONLY,"Valid","d 0 1",GETONLY(isvalid),}, 18 {"genotype",0,PARAM_NOSTATIC | PARAM_READONLY,"Genotype","s 1",GETONLY(string),"Genes as a string of characters",}, 19 {"isValid",0,PARAM_NOSTATIC | PARAM_READONLY | PARAM_DEPRECATED,"Valid","d 0 1",GETONLY(isvalid),}, 20 {"is_valid",0,PARAM_NOSTATIC,"Valid","d -1 1 -1",GETSET(isvalid),}, 20 21 {"getConverted",0,PARAM_NOSTATIC,"get converted genotype","p oGeno(d format)",PROCEDURE(p_getconvert),}, 21 22 {"f0genotype",0,PARAM_NOSTATIC | PARAM_READONLY,"f0 genotype","s 1",GETONLY(f0genotype),"converted to f0 genotype",}, … … 32 33 void GenoObj::get_isvalid(ExtValue *ret) 33 34 {ret->setInt(isValid());} 35 36 int GenoObj::set_isvalid(const ExtValue *v) 37 { 38 paInt n=v->getInt(); 39 if (getValid()!=n) 40 { 41 setValid(n); 42 return PSET_CHANGED; 43 } 44 return 0; 45 } 34 46 35 47 void GenoObj::get_genotype(ExtValue *ret) -
cpp/frams/vm/classes/genoobj.h
r286 r415 15 15 #define STATRICKCLASS GenoObj 16 16 PARAMGETDEF(isvalid); 17 PARAMSETDEF(isvalid); 17 18 PARAMGETDEF(genotype); 18 19 PARAMGETDEF(name);
Note: See TracChangeset
for help on using the changeset viewer.