| 21 |
*/ |
*/ |
| 22 |
#include "ChangeDate.hh" |
#include "ChangeDate.hh" |
| 23 |
#include "patterns/SmartPtr.hh" |
#include "patterns/SmartPtr.hh" |
| 24 |
|
#include "GEDCOMParser/Visitor/GEDCOMVisitor.hh" |
| 25 |
|
|
| 26 |
void GEDCOMParser::ChangeDate::setDate(std::string const & value) |
void GEDCOMParser::ChangeDate::setDate(std::string const & value) |
| 27 |
{ |
{ |
| 60 |
return res; |
return res; |
| 61 |
} |
} |
| 62 |
|
|
| 63 |
|
GEDCOMParser::DateManagement::DateValue const * const GEDCOMParser::ChangeDate::getDateObject(void) const |
| 64 |
|
{ |
| 65 |
|
return _date; |
| 66 |
|
} |
| 67 |
|
|
| 68 |
|
|
| 69 |
std::string const &GEDCOMParser::ChangeDate::getTime(void) const |
std::string const &GEDCOMParser::ChangeDate::getTime(void) const |
| 70 |
{ |
{ |
| 71 |
return _time; |
return _time; |
| 72 |
} |
} |
| 73 |
|
|
| 74 |
|
void GEDCOMParser::ChangeDate::Accept(GEDCOMParser::GEDCOMVisitor * v) |
| 75 |
|
{ |
| 76 |
|
v->VisitChangeDate(this); |
| 77 |
|
return; |
| 78 |
|
} |