00001 00002 00003 #include <string> 00004 #include "DataTypes.h" 00005 00006 00007 class FieldLabels 00008 { 00009 public: 00010 FieldLabels(); 00011 bool find(std::string, DATATYPE); 00012 //Pedigree Table Labels 00013 std::string FamilyIdField; // Shared with Decomposed Table 00014 std::string IndividualIdField; // Shared with Decomposed Table 00015 std::string FatherIdField; 00016 std::string MotherIdField; 00017 std::string GenderField; 00018 00019 //Genetic Map Table Labels 00020 std::string ChromosomeField; 00021 std::string MarkerNameField; // Shared with Decomposed Table and Allele Frequency Table 00022 std::string PositionField; // Shared with Results Table 00023 std::string PositionFemaleField; 00024 std::string PositionMaleField; 00025 00026 //Decomposed Table Labels 00027 std::string Allele1Field; 00028 std::string Allele2Field; 00029 00030 //Results Table Labels 00031 std::string Score1Field; 00032 std::string Score2Field; 00033 std::string Score3Field; 00034 std::string Score4Field; 00035 std::string Score5Field; 00036 00037 //Allele Frequency Table Labels 00038 std::string FrequencyField; 00039 std::string AlleleField; 00040 00041 // Optional CORE fields in a Pedigree table 00042 std::string DOBField; 00043 std::string MZTwinField; 00044 std::string DZTwinField; 00045 std::string AffectedField; 00046 std::string DeceasedField; 00047 std::string ProbandField; 00048 std::string SampledField; 00049 std::string SuperscriptField; 00050 std::string ConsultandField; 00051 std::string CarrierField; 00052 std::string RelationshipEndedField; 00053 std::string SterilityField; 00054 std::string InfertilityField; 00055 00056 int PEDIGREE_TABLE_CORE_COLUMN_COUNT; 00057 int GENETIC_TABLE_CORE_COLUMN_MINIMUM; 00058 int GENETIC_TABLE_CORE_COLUMN_MAXIMUM; 00059 int ALLELE_FREQUENCY_TABLE_CORE_COLUMN_COUNT; 00060 int RESULTS_TABLE_CORE_COLUMN_COUNT; 00061 int DECOMPOSED_TABLE_CORE_COLUMN_COUNT; 00062 };