| 26 |
#include "GEDCOMParser/IndividualRecord.hh" |
#include "GEDCOMParser/IndividualRecord.hh" |
| 27 |
#include "MMITreeBrowser.hh" |
#include "MMITreeBrowser.hh" |
| 28 |
|
|
| 29 |
|
#include <vector> |
| 30 |
|
|
| 31 |
namespace BakeryGateway { |
namespace BakeryGateway { |
| 32 |
class ViewTreeBrowser : public ViewIndividualBrowser < MMITreeBrowser > |
class ViewTreeBrowser : public ViewIndividualBrowser < MMITreeBrowser > |
| 33 |
{ |
{ |
| 36 |
~ViewTreeBrowser(void) {}; |
~ViewTreeBrowser(void) {}; |
| 37 |
private: |
private: |
| 38 |
void Load(void); |
void Load(void); |
| 39 |
void AddParentInTree(SmartPtr<GEDCOMParser::IndividualRecord> const &child, SmartPtr<GEDCOMParser::IndividualRecord> const & parent, GEDCOMParser::IndividualRecords_t * children); |
void AddParentInTree(GEDCOMParser::IndividualRecord const * const child, GEDCOMParser::IndividualRecord * const parent, std::vector<GEDCOMParser::IndividualRecord *> * children); |
| 40 |
std::string const getIndividualName(SmartPtr<GEDCOMParser::IndividualRecord> const & individual); |
std::string const getIndividualName(GEDCOMParser::IndividualRecord const * const individual); |
| 41 |
}; |
}; |
| 42 |
}; |
}; |
| 43 |
#endif |
#endif |