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

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

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

revision 1.3 by cpcp, Tue Nov 12 21:25:21 2002 UTC revision 1.4 by cpcp, Sun Jan 26 21:15:21 2003 UTC
# Line 21  Line 21 
21  */  */
22  #include "SourceRecord.hh"  #include "SourceRecord.hh"
23  #include "patterns/SmartPtr.hh"  #include "patterns/SmartPtr.hh"
24    #include "GEDCOMParser/Visitor/GEDCOMVisitor.hh"
25    
26  void GEDCOMParser::SourceRecord::Data::Event::setEvent(std::string const &value)  void GEDCOMParser::SourceRecord::Data::Event::setEvent(std::string const &value)
27  {  {
# Line 224  std::string const GEDCOMParser::SourceRe Line 225  std::string const GEDCOMParser::SourceRe
225    return res;    return res;
226  }  }
227    
228    GEDCOMParser::DateManagement::DateValue const * const GEDCOMParser::SourceRecord::Data::Event::getDateObject(void) const
229    {
230      return _date;
231    }
232    
233    
234  std::string const & GEDCOMParser::SourceRecord::Data::Event::getPlace(void) const  std::string const & GEDCOMParser::SourceRecord::Data::Event::getPlace(void) const
235  {  {
236    return _plac;    return _plac;
# Line 269  std::string const & GEDCOMParser::Source Line 276  std::string const & GEDCOMParser::Source
276    return _rin;    return _rin;
277  }  }
278    
279    void GEDCOMParser::SourceRecord::Accept(GEDCOMParser::GEDCOMVisitor * v)
280    {
281      v->VisitSourceRecord(this);
282      return;
283    }
284    
285    void GEDCOMParser::SourceRecord::Data::Accept(GEDCOMParser::GEDCOMVisitor * v)
286    {
287      v->VisitSourceRecordData(this);
288      return;
289    }
290    
291    void GEDCOMParser::SourceRecord::Data::Event::Accept(GEDCOMParser::GEDCOMVisitor * v)
292    {
293      v->VisitSourceRecordDataEvent(this);
294      return;
295    }
296    

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

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