30 |
return; |
return; |
31 |
} |
} |
32 |
|
|
|
GEDCOMParser::NoteStructure * GEDCOMParser::SpouseToFamilyLink::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(); |
|
|
} |
|
|
|
|
|
GEDCOMParser::NoteStructures_t const &GEDCOMParser::SpouseToFamilyLink::getNoteStructures(void) const |
|
|
{ |
|
|
return _notes; |
|
|
} |
|
|
|
|
33 |
std::string const &GEDCOMParser::SpouseToFamilyLink::getRawFamsXref(void) const |
std::string const &GEDCOMParser::SpouseToFamilyLink::getRawFamsXref(void) const |
34 |
{ |
{ |
35 |
return _fams_xref; |
return _fams_xref; |