| 23 |
#include "GEDCOMParser/personalnameparser_decl.hh" |
#include "GEDCOMParser/personalnameparser_decl.hh" |
| 24 |
#include "GEDCOMParser/Visitor/GEDCOMVisitor.hh" |
#include "GEDCOMParser/Visitor/GEDCOMVisitor.hh" |
| 25 |
|
|
| 26 |
|
#define PERSONALNAME_SEPARATOR "/" |
| 27 |
|
|
| 28 |
void GEDCOMParser::PersonalName::setName(std::string const & value) |
void GEDCOMParser::PersonalName::setName(std::string const & value) |
| 29 |
{ |
{ |
| 30 |
_raw_name = value; |
_raw_name = value; |
| 44 |
void GEDCOMParser::PersonalName::setGivn(std::string const & value) |
void GEDCOMParser::PersonalName::setGivn(std::string const & value) |
| 45 |
{ |
{ |
| 46 |
_raw_givn = value; |
_raw_givn = value; |
| 47 |
|
setName(_raw_givn + PERSONALNAME_SEPARATOR + _surn + PERSONALNAME_SEPARATOR); |
| 48 |
return; |
return; |
| 49 |
} |
} |
| 50 |
|
|
| 63 |
void GEDCOMParser::PersonalName::setSurn(std::string const & value) |
void GEDCOMParser::PersonalName::setSurn(std::string const & value) |
| 64 |
{ |
{ |
| 65 |
_raw_surn = value; |
_raw_surn = value; |
| 66 |
|
setName(_givn + PERSONALNAME_SEPARATOR + _raw_surn + PERSONALNAME_SEPARATOR); |
| 67 |
return; |
return; |
| 68 |
} |
} |
| 69 |
|
|