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

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

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

revision 1.6 by cpcp, Thu Oct 30 20:05:42 2003 UTC revision 1.7 by cpcp, Sun Nov 16 15:22:12 2003 UTC
# Line 36  void GEDCOMParser::ChildToFamilyLink::ad Line 36  void GEDCOMParser::ChildToFamilyLink::ad
36    return;    return;
37  }  }
38    
 GEDCOMParser::NoteStructure * GEDCOMParser::ChildToFamilyLink::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();  
 }  
   
   
   
39  GEDCOMParser::Pedis_t const &GEDCOMParser::ChildToFamilyLink::getPedis(void) const  GEDCOMParser::Pedis_t const &GEDCOMParser::ChildToFamilyLink::getPedis(void) const
40  {  {
41    return _pedis;    return _pedis;
42  }  }
43    
 GEDCOMParser::NoteStructures_t const &GEDCOMParser::ChildToFamilyLink::getNoteStructures(void) const  
 {  
   return _notes;  
 }  
   
44  std::string const &GEDCOMParser::ChildToFamilyLink::getFamcXref(void) const  std::string const &GEDCOMParser::ChildToFamilyLink::getFamcXref(void) const
45  {  {
46    return _famc_xref;    return _famc_xref;

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