| 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 |
{ |
{ |
| 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; |
| 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 |
|
|