| sdleiF | ||
| string autoname RO | Autogenerated name | |
| multiline string f0genotype RO | f0 genotypeconverted to f0 genotype | |
| string format RO | FormatGenotype format | |
| multiline string genotype RO | GenotypeGenes as a string of characters | |
| multiline string info | InfoAdditional information or comments | |
| int is_valid-1 .. 1 default=-1 | Validity0 = invalid genotype 1 = valid genotype -1 = validity is not known. This is a transient state. The value of "is_valid" will never be -1 when read. It is safe to treat is_valid as boolean in statements like "if (g.is_valid) ...". Setting "is_valid=-1" will make it 0 or 1 again. This third state (-1) is only needed for loading Genotype objects from files where the "is_valid" field might not be present. | |
| int isValid RO0 .. 1 (false/true) | ValidUse 'is_valid' instead of 'isValid'. | |
| string name | Name | |
| multiline string rawgenotype RO | Raw genotypeGenotype, excluding the format specifier | |
| Vector toVector RO | serialization support | |
| snoitcnuF | ||
| function getConverted RO(string format)returns Geno | Get converted genotype | |
| function getConvertedWithCheckpoints RO(string format)returns Geno | Get converted genotypeSee also Model.newWithCheckpoints() | |
| function new()returns Geno | create new empty object | |
| function newFrom(string genotype, string format, string name, string description)returns Geno | create new object | |
| function newFromString(string genotype)returns Geno | create new object from supplied string argument | |
| function newFromVector(Vector)returns Geno | serialization support | |
| Global context |