fix parset issues
This commit is contained in:
+3
-2
@@ -44,11 +44,13 @@ public:
|
||||
|
||||
void rename(const char* newName);
|
||||
|
||||
person_id last();
|
||||
person_id findId(const char* name) const;
|
||||
person_id findId(const char* name, Sex) const;
|
||||
person_id findOldestAncestor(person_id, Sex) const;//
|
||||
|
||||
//oldest common ancestor ID, a person is considerd an ancestor of himself
|
||||
person_id findCommonAncestor(person_id first, person_id second) const;
|
||||
person_id findCommonAncestor(person_id first, person_id second) const; /* needs to be fixed, never return nobody */
|
||||
RelType findRelation(person_id first, person_id second) const;
|
||||
person_id findParent(person_id child, Sex parentSex) const;
|
||||
person_id findSpouse(person_id person) const;
|
||||
@@ -97,7 +99,6 @@ private:
|
||||
void selectRightSib(person_id);
|
||||
|
||||
std::string treeName;
|
||||
unsigned numPeople = 0;
|
||||
std::vector<Person> people; //The data for each member
|
||||
std::vector<std::vector<Relation>> relations; //The relatives of each member
|
||||
|
||||
|
||||
Reference in New Issue
Block a user