| 34 |
return; |
return; |
| 35 |
} |
} |
| 36 |
|
|
|
void GEDCOMParser::IndividualAttribute::setEvent(GEDCOMParser::Event * e) |
|
|
{ |
|
|
if (_event.Null()) |
|
|
{ |
|
|
_event = SmartPtr<GEDCOMParser::Event>(e); |
|
|
} |
|
|
_event->copyLastUpdatedAttr(*e); |
|
|
return; |
|
|
} |
|
|
|
|
| 37 |
GEDCOMParser::IndividualAttribute::enumIndividualAttributes GEDCOMParser::IndividualAttribute::getType(void) const |
GEDCOMParser::IndividualAttribute::enumIndividualAttributes GEDCOMParser::IndividualAttribute::getType(void) const |
| 38 |
{ |
{ |
| 39 |
return _type; |
return _type; |
| 40 |
} |
} |
| 41 |
|
|
|
SmartPtr<GEDCOMParser::Event> const &GEDCOMParser::IndividualAttribute::getEvent(void) const |
|
|
{ |
|
|
return _event; |
|
|
} |
|
|
|
|
| 42 |
std::string const &GEDCOMParser::IndividualAttribute::getValue(void) const |
std::string const &GEDCOMParser::IndividualAttribute::getValue(void) const |
| 43 |
{ |
{ |
| 44 |
return _value; |
return _value; |