36 |
return; |
return; |
37 |
} |
} |
38 |
|
|
|
GEDCOMParser::NoteStructure * GEDCOMParser::ChildToFamilyLink::addNoteStructure(GEDCOMParser::NoteStructure * const data = 0) |
|
|
{ |
|
|
GEDCOMParser::NoteStructure * tmp_data = data; |
|
|
if (data == 0) |
|
|
{ |
|
|
GEDCOMParser::GEDCOMFactory * factory = GEDCOMParser::GEDCOMFactoryAccessor::getFactory(); |
|
|
tmp_data = factory->createNoteStructure(); |
|
|
} |
|
|
_notes.push_back(SmartPtr<NoteStructure>(tmp_data)); |
|
|
return _notes.back().getPtr(); |
|
|
} |
|
|
|
|
|
|
|
|
|
|
39 |
GEDCOMParser::Pedis_t const &GEDCOMParser::ChildToFamilyLink::getPedis(void) const |
GEDCOMParser::Pedis_t const &GEDCOMParser::ChildToFamilyLink::getPedis(void) const |
40 |
{ |
{ |
41 |
return _pedis; |
return _pedis; |
42 |
} |
} |
43 |
|
|
|
GEDCOMParser::NoteStructures_t const &GEDCOMParser::ChildToFamilyLink::getNoteStructures(void) const |
|
|
{ |
|
|
return _notes; |
|
|
} |
|
|
|
|
44 |
std::string const &GEDCOMParser::ChildToFamilyLink::getFamcXref(void) const |
std::string const &GEDCOMParser::ChildToFamilyLink::getFamcXref(void) const |
45 |
{ |
{ |
46 |
return _famc_xref; |
return _famc_xref; |