30 |
return; |
return; |
31 |
} |
} |
32 |
|
|
|
GEDCOMParser::SourceCitation * GEDCOMParser::NoteStructure::addSourceCitation(GEDCOMParser::SourceCitation * const data = 0) |
|
|
{ |
|
|
GEDCOMParser::SourceCitation * tmp_data = data; |
|
|
if (data == 0) |
|
|
{ |
|
|
GEDCOMParser::GEDCOMFactory * factory = GEDCOMParser::GEDCOMFactoryAccessor::getFactory(); |
|
|
tmp_data = factory->createSourceCitation(); |
|
|
} |
|
|
_citations.push_back(SmartPtr<SourceCitation>(tmp_data)); |
|
|
return _citations.back().getPtr(); |
|
|
} |
|
|
|
|
33 |
void GEDCOMParser::NoteStructure::concSubmitterText(std::string const & value) |
void GEDCOMParser::NoteStructure::concSubmitterText(std::string const & value) |
34 |
{ |
{ |
35 |
_submitter_text = _submitter_text + value; |
_submitter_text = _submitter_text + value; |
47 |
{ |
{ |
48 |
} |
} |
49 |
|
|
|
GEDCOMParser::SourceCitations_t const &GEDCOMParser::NoteStructure::getSourceCitations(void) const |
|
|
{ |
|
|
return _citations; |
|
|
} |
|
|
|
|
50 |
std::string const &GEDCOMParser::NoteStructure::getNoteXref(void) const |
std::string const &GEDCOMParser::NoteStructure::getNoteXref(void) const |
51 |
{ |
{ |
52 |
return _note_xref; |
return _note_xref; |