|
Public Member Functions |
| | Individual () |
| | Individual (const std::string &id) |
| | Individual (const std::string &id, int rowIndex, int tableIndex) |
| | Individual (const std::string &id, const std::string &motherId, const std::string &fatherId, const std::string &gender) |
| | Individual (const std::string &id, const std::string &motherId, const std::string &fatherId, const std::string &gender, int rowIndex, int tableIndex) |
| void | setOrdinaryFounder (bool value) |
| void | setOriginalFounder (bool value) |
| void | setExternalConnection (bool value) |
| void | setIsUnconnected (bool value) |
| void | setIsConsanguinous (bool value) |
| void | setMother (Individual *mother) |
| void | setFather (Individual *father) |
| void | setAdoptedComplement (Individual *adoptedComplement) |
| void | setDOB (Date *dob) |
| void | setAffectionStatus (Affected *affected) |
| void | setProbandStatus (Proband *proband) |
| void | setDeceasedStatus (LivingDead *deceased) |
| void | setVirtualIndividual (bool value) |
| void | setMotherId (std::string motherId) |
| void | setFatherId (std::string fatherId) |
| void | setTwin (std::string marker, Twin::TWIN_TYPE type) |
| void | setGender (std::string gender) |
| void | setSampled (Sampled *sampled) |
| void | setConsultandStatus (Consultand *consultand) |
| void | setCarrierStatus (Carrier *carrier) |
| void | setRelationshipEndedStatus (RelationshipEnded *relationshipEnded) |
| void | setInfertilityStatus (Infertility *infertility) |
| void | setSterilityStatus (Sterility *sterility) |
| void | setBirthOrder (unsigned birthOrder) |
| void | setLeftWidth (unsigned leftWidth) |
| void | setRightWidth (unsigned rightWidth) |
| void | setTotalWidth (unsigned totalWidth) |
| void | setX (double x) |
| void | setY (double y) |
| void | setLeftSideOfLoop (unsigned loopNumber) |
| void | setRightSideOfLoop (unsigned loopNumber) |
| void | setLeftSideOfExternalConnection (unsigned connectionNumber) |
| void | setRightSideOfExternalConnection (unsigned connectionNumber) |
| void | setHasBeenDrawn () |
| void | setVisited (bool value) |
| void | setLeftSpouseConnector (bool value) |
| String | getId (void) |
| String | getMotherId (void) |
| String | getFatherId (void) |
| Gender | getGender (void) |
| Date * | getDOB (void) |
| bool | isOrdinaryFounder (void) |
| bool | isOriginalFounder (void) |
| bool | isVirtual (void) |
| bool | hasExternalConnection (void) |
| bool | hasBeenVisited (void) |
| bool | hasBeenDrawn (void) |
| bool | isConsanguinous (void) |
| bool | isAffected (void) |
| bool | isSampled (void) |
| bool | isProband (void) |
| bool | isConsultand (void) |
| bool | isCarrier (void) |
| bool | relationshipHasEnded (void) |
| bool | isInfertile (void) |
| bool | isSterile (void) |
| bool | isDeceased (void) |
| RelationshipEnded::TYPE | getRelationshipEndedType (void) const |
| Infertility::TYPE | getInfertilityType (void) const |
| Sterility::TYPE | getSterilityType (void) const |
| std::string | getInfertilityLabel (void) const |
| std::string | getSterilityLabel (void) const |
| unsigned | getBirthOrder (void) |
| unsigned | getRowIndex (void) |
| Individual * | getFather (void) |
| Individual * | getMother (void) |
| Individual * | getAdoptedComplement (void) |
| Individual * | getFirstSpouse (void) |
| Twin | getTwinMarker (void) |
| unsigned | getNumberOfSpouses (void) |
| unsigned | getNumberOfChildren (void) |
| unsigned | getNumberOfDescentTrees (void) |
| unsigned | getNumberOfNuclearFamilies (void) |
| NuclearFamily * | getNuclearFamily (unsigned index) |
| std::set< unsigned > | getDescentTrees (void) |
| unsigned | getLeftWidth (void) |
| unsigned | getRightWidth (void) |
| unsigned | getTotalWidth (void) |
| double | getX (void) |
| double | getY (void) |
| unsigned | getLeftSideOfLoop (void) |
| unsigned | getRightSideOfLoop (void) |
| unsigned | getLeftSideOfExternalConnection (void) |
| unsigned | getRightSideOfExternalConnection (void) |
| unsigned | getLeftFlag (bool consanguinousLoop) |
| unsigned | getRightFlag (bool consanguinousLoop) |
| bool | getLeftSpouseConnector (void) |
| std::vector< std::string > | getChildrenIds (Individual *spouse) |
const std::set< Individual *,
compareIndividual > *const | getSpouses (void) const |
const std::set< Individual *,
compareIndividual > *const | getChildren (void) const |
| void | getChildrenWithSpouse (Individual *spouse, std::vector< Individual * > &children) |
| void | getChildrenSortedByExternalConnections (Individual *spouse, std::vector< Individual * > &children) |
| void | setPedigreeDataTable (const DataTable *pedigreeTable) |
| Data * | getData (const std::string label) |
| void | sortSpouses (bool externalFlag=false) |
| void | addSpouse (Individual *spouse) |
| void | addChild (Individual *child) |
| void | addDescentTree (unsigned descentTreeId) |
| void | addNuclearFamily (NuclearFamily *nuclearFamily) |
| void | setChildrenIdsSortedByExternalConnections (std::string parentPair, std::vector< Individual * > children) |
| void | displayChildren () |
| void | displaySpouses () |
| void | displayNuclearFamilies () |
| void | display () |
| bool | isIndividualIndicatingNoOffspring (void) |
| bool | isIndividualIndicatingNonFertility (void) |
| bool | isIndividualIndicatingTerminatedPregnancy (void) |
| bool | isIndividualAdoptedIn (void) |
| bool | isIndividualAdoptedOut (void) |
| bool | isSpecial (void) |
| const DataTable * | getDataTable (void) const |
| int | getVisitCount () |
| void | resetVisitCount () |
| void | incrementVisitCount () |
Static Public Member Functions |
| static std::string | getRandomId () |
| static void | groupIndividualsBasedOn (bool consanguinousLoop, const std::vector< Individual * > &individuals, std::deque< Individual * > &initial, std::deque< Individual * > &left, std::deque< Individual * > &right, bool unique=false) |
| static std::vector< Individual * > | sortIndividualsBasedOnDataField (const std::string &name, const std::vector< Individual * > &individuals, bool dobSortOrder) |
| static void | setSampledColumnPresent () |
| static bool | getSampledColumnPresent () |
Private Member Functions |
| void | _init (void) |
| void | _checkForSpecialIndividualTypes (void) |
| void | _rearrangeMultipleSpouses (std::deque< Individual * > &initial, std::deque< Individual * > &left, std::deque< Individual * > &right, std::deque< Individual * > &result) |
Private Attributes |
| String | _id |
| String | _motherId |
| String | _fatherId |
| Gender | _gender |
| Date * | _dob |
| Date * | _dod |
| Affected * | _affected |
| LivingDead * | _deceased |
| Proband * | _proband |
| Consultand * | _consultand |
| Carrier * | _carrier |
| RelationshipEnded * | _relationshipEnded |
| Sterility * | _sterility |
| Infertility * | _infertility |
| Twin | _twinMarker |
| Sampled * | _sampled |
| Individual * | _father |
| Individual * | _mother |
| Individual * | _adoptedComplement |
| bool | _isVirtual |
| bool | _isUnconnected |
| bool | _isConsanguinous |
| bool | _hasExternalConnection |
| unsigned | _birthOrder |
| bool | _isOriginalFounder |
| bool | _isOrdinaryFounder |
| unsigned | _leftWidth |
| unsigned | _rightWidth |
| unsigned | _totalWidth |
| double | _x |
| double | _y |
| bool | _hasBeenVisited |
| int | _visitCount |
| bool | _hasBeenDrawn |
| unsigned | _leftSideOfLoop |
| unsigned | _rightSideOfLoop |
| unsigned | _leftSideOfExternalConnection |
| unsigned | _rightSideOfExternalConnection |
| bool | _leftSpouseConnector |
| std::set< Individual *, compareIndividual > | _spouses |
| std::set< Individual *, compareIndividual > | _children |
std::map< std::string, std::vector<
Individual * > > | _childrenIdsSortedByExternalConnections |
| std::set< unsigned > | _descentTrees |
| std::vector< NuclearFamily * > | _nuclearFamilies |
| int | _rowIndex |
| int | _tableIndex |
| const DataTable * | _pedigreeTable |
| bool | _individualIndicatingNoOffspring |
| bool | _individualIndicatingNonFertility |
| bool | _individualIndicatingTerminatedPregnancy |
| bool | _individualAdoptedOut |
| bool | _individualAdoptedIn |
| bool | _isSpecial |
Static Private Attributes |
| static bool | _sampledColumnPresent = false |
Classes |
| struct | compareData |
| struct | compareIndividual |