| 21 |
*/ |
*/ |
| 22 |
#include "Event.hh" |
#include "Event.hh" |
| 23 |
#include "patterns/SmartPtr.hh" |
#include "patterns/SmartPtr.hh" |
| 24 |
|
#include "GEDCOMParser/Visitor/GEDCOMVisitor.hh" |
| 25 |
|
|
| 26 |
void GEDCOMParser::Event::_setType(std::string const & value) |
void GEDCOMParser::Event::_setType(std::string const & value) |
| 27 |
{ |
{ |
| 281 |
return res; |
return res; |
| 282 |
} |
} |
| 283 |
|
|
| 284 |
|
GEDCOMParser::DateManagement::DateValue const * const GEDCOMParser::Event::getDateObject(void) const |
| 285 |
|
{ |
| 286 |
|
return _date; |
| 287 |
|
} |
| 288 |
|
|
| 289 |
std::string const &GEDCOMParser::Event::getAge(void) const |
std::string const &GEDCOMParser::Event::getAge(void) const |
| 290 |
{ |
{ |
| 291 |
return _age; |
return _age; |
| 300 |
{ |
{ |
| 301 |
return _caus; |
return _caus; |
| 302 |
} |
} |
| 303 |
|
|
| 304 |
|
void GEDCOMParser::Event::Accept(GEDCOMParser::GEDCOMVisitor * v) |
| 305 |
|
{ |
| 306 |
|
v->VisitEvent(this); |
| 307 |
|
return; |
| 308 |
|
} |