/[ghosts]/ghosts/gedcomparser/src/GEDCOMParser/SourceRepositoryCitation.cpp
ViewVC logotype

Diff of /ghosts/gedcomparser/src/GEDCOMParser/SourceRepositoryCitation.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by cpcp, Sun Feb 23 21:34:44 2003 UTC revision 1.6 by cpcp, Sun Nov 16 15:22:13 2003 UTC
# Line 43  void GEDCOMParser::SourceRepositoryCitat Line 43  void GEDCOMParser::SourceRepositoryCitat
43    return;    return;
44  }  }
45    
 GEDCOMParser::NoteStructure * GEDCOMParser::SourceRepositoryCitation::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();  
 }  
   
46  GEDCOMParser::SourceRepositoryCitation::SourceCallNumber * GEDCOMParser::SourceRepositoryCitation::addSourceCallNumber(GEDCOMParser::SourceRepositoryCitation::SourceCallNumber * const data = 0)  GEDCOMParser::SourceRepositoryCitation::SourceCallNumber * GEDCOMParser::SourceRepositoryCitation::addSourceCallNumber(GEDCOMParser::SourceRepositoryCitation::SourceCallNumber * const data = 0)
47  {  {
48    GEDCOMParser::SourceRepositoryCitation::SourceCallNumber  * tmp_data = data;    GEDCOMParser::SourceRepositoryCitation::SourceCallNumber  * tmp_data = data;
# Line 67  GEDCOMParser::SourceRepositoryCitation:: Line 55  GEDCOMParser::SourceRepositoryCitation::
55    return _call_numbers.back().getPtr();    return _call_numbers.back().getPtr();
56  }  }
57    
   
 GEDCOMParser::NoteStructures_t const &GEDCOMParser::SourceRepositoryCitation::getNoteStructures(void) const  
 {  
   return _notes;  
 }  
   
58  GEDCOMParser::SourceRepositoryCitation::SourceCallNumbers_t const &GEDCOMParser::SourceRepositoryCitation::getSourceCallNumbers(void) const  GEDCOMParser::SourceRepositoryCitation::SourceCallNumbers_t const &GEDCOMParser::SourceRepositoryCitation::getSourceCallNumbers(void) const
59  {  {
60    return _call_numbers;    return _call_numbers;

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26