| 48 |
return; |
return; |
| 49 |
} |
} |
| 50 |
|
|
|
GEDCOMParser::NoteStructure * GEDCOMParser::MultimediaLink::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(); |
|
|
} |
|
|
|
|
| 51 |
GEDCOMParser::MultimediaLink::~MultimediaLink(void) |
GEDCOMParser::MultimediaLink::~MultimediaLink(void) |
| 52 |
{ |
{ |
| 53 |
} |
} |
| 54 |
|
|
|
|
|
|
GEDCOMParser::NoteStructures_t const &GEDCOMParser::MultimediaLink::getNoteStructures(void) const |
|
|
{ |
|
|
return _notes; |
|
|
} |
|
|
|
|
| 55 |
std::string const &GEDCOMParser::MultimediaLink::getObjXref(void) const |
std::string const &GEDCOMParser::MultimediaLink::getObjXref(void) const |
| 56 |
{ |
{ |
| 57 |
return _obj_xref; |
return _obj_xref; |