| 27 |
#include "patterns/SmartPtr.hh" |
#include "patterns/SmartPtr.hh" |
| 28 |
#include "GEDCOMParser/NoteStructure.hh" |
#include "GEDCOMParser/NoteStructure.hh" |
| 29 |
#include "GEDCOMParser/SourceCitation.hh" |
#include "GEDCOMParser/SourceCitation.hh" |
| 30 |
|
#include "GEDCOMParser/DateManagement/DateValue.hh" |
| 31 |
|
|
| 32 |
/// Package GEDCOMParser |
/// Package GEDCOMParser |
| 33 |
namespace GEDCOMParser |
namespace GEDCOMParser |
| 54 |
LdsIndividualOrdinance (enumLdsIndividualOrdinance type = e_None): |
LdsIndividualOrdinance (enumLdsIndividualOrdinance type = e_None): |
| 55 |
_type (type), |
_type (type), |
| 56 |
_stat (), |
_stat (), |
| 57 |
_date (), |
_date (0), |
| 58 |
_temple_code (), |
_temple_code (), |
| 59 |
_place (), |
_place (), |
| 60 |
_famc_xref (), |
_famc_xref (), |
| 62 |
_notes () |
_notes () |
| 63 |
{ |
{ |
| 64 |
}; |
}; |
| 65 |
|
LdsIndividualOrdinance (LdsIndividualOrdinance const &l): |
| 66 |
|
_type (l._type), |
| 67 |
|
_stat (l._stat), |
| 68 |
|
_date (0), |
| 69 |
|
_temple_code (l._temple_code), |
| 70 |
|
_place (l._place), |
| 71 |
|
_famc_xref (l._famc_xref), |
| 72 |
|
_citations (l._citations), |
| 73 |
|
_notes (l._notes) |
| 74 |
|
{ |
| 75 |
|
if (l._date != 0) |
| 76 |
|
{ |
| 77 |
|
_date = new GEDCOMParser::DateManagement::DateValue(*l._date); |
| 78 |
|
} |
| 79 |
|
return; |
| 80 |
|
}; |
| 81 |
|
|
| 82 |
virtual ~LdsIndividualOrdinance(void) |
virtual ~LdsIndividualOrdinance(void) |
| 83 |
{ |
{ |
| 84 |
|
delete _date; _date = 0; |
| 85 |
}; |
}; |
| 86 |
///@name Accessors (set) |
///@name Accessors (set) |
| 87 |
//@{ |
//@{ |
| 110 |
/// |
/// |
| 111 |
virtual std::string const &getStat(void) const; |
virtual std::string const &getStat(void) const; |
| 112 |
/// |
/// |
| 113 |
virtual std::string const &getDate(void) const; |
virtual std::string const getDate(void) const; |
| 114 |
/// |
/// |
| 115 |
virtual std::string const &getTempleCode(void) const; |
virtual std::string const &getTempleCode(void) const; |
| 116 |
/// |
/// |
| 127 |
protected: |
protected: |
| 128 |
enumLdsIndividualOrdinance _type; |
enumLdsIndividualOrdinance _type; |
| 129 |
std::string _stat; |
std::string _stat; |
| 130 |
std::string _date; |
GEDCOMParser::DateManagement::DateValue * _date; |
| 131 |
std::string _temple_code; |
std::string _temple_code; |
| 132 |
std::string _place; |
std::string _place; |
| 133 |
std::string _famc_xref; |
std::string _famc_xref; |