utf8 len
This commit is contained in:
@@ -35,8 +35,11 @@ public:
|
||||
|
||||
person_id findId(const char*, short year=0, const unsigned char month=0, const unsigned char day=0) const;
|
||||
person_id findOldestAncestor(person_id id, bool sex = 0) const;//
|
||||
person_id findCommonAncestor(person_id firstId, person_id secondId) const; //oldest common ancestor ID
|
||||
//oldest common ancestor ID, a person is considerd an ancestor of himself
|
||||
person_id findCommonAncestor(person_id firstId, person_id secondId) const;
|
||||
person_id findRelation(person_id first, person_id second) const;
|
||||
person_id findParent(person_id child, bool isParentMale) const;
|
||||
person_id findSpouse(person_id person) const;
|
||||
|
||||
void saveTree()const;//
|
||||
bool loadTree();
|
||||
@@ -58,7 +61,7 @@ public:
|
||||
void printOldestAncestors(person_id id)const;//
|
||||
|
||||
private:
|
||||
void commonAncestorRec(person_id id, std::vector<char> &visited)const;
|
||||
void commonAncestorRec(person_id id, std::vector<U8> &visited)const;
|
||||
|
||||
void draw() const;
|
||||
/* draw a line of people starting from person with id
|
||||
|
||||
Reference in New Issue
Block a user