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

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

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

revision 1.6 by cpcp, Sun Feb 23 21:34:44 2003 UTC revision 1.7 by cpcp, Sun Nov 16 15:22:12 2003 UTC
# Line 41  void GEDCOMParser::ChangeDate::setTime(s Line 41  void GEDCOMParser::ChangeDate::setTime(s
41    return;    return;
42  }  }
43    
 GEDCOMParser::NoteStructure * GEDCOMParser::ChangeDate::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::ChangeDate::getNoteStructures(void) const  
 {  
   return _notes;  
 }  
   
44  std::string const GEDCOMParser::ChangeDate::getDate(void) const  std::string const GEDCOMParser::ChangeDate::getDate(void) const
45  {  {
46    std::string res;    std::string res;

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

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