38 |
|
|
39 |
#include "GEDCOMParser/SourceCitation.hh" |
#include "GEDCOMParser/SourceCitation.hh" |
40 |
#include "GEDCOMParser/NoteStructure.hh" |
#include "GEDCOMParser/NoteStructure.hh" |
41 |
|
#include "GEDCOMParser/DateManagement/DateValue.hh" |
42 |
|
|
43 |
/// |
/// |
44 |
namespace GEDCOMParser |
namespace GEDCOMParser |
48 |
{ |
{ |
49 |
protected: |
protected: |
50 |
std::string _status; |
std::string _status; |
51 |
std::string _date; |
GEDCOMParser::DateManagement::DateValue * _date; |
52 |
std::string _temp; |
std::string _temp; |
53 |
std::string _plac; |
std::string _plac; |
54 |
SourceCitations_t _citations; |
SourceCitations_t _citations; |
55 |
NoteStructures_t _notes; |
NoteStructures_t _notes; |
56 |
public: |
public: |
57 |
|
LdsSpouseSealing(void) : |
58 |
|
_status(), |
59 |
|
_date(0), |
60 |
|
_temp(), |
61 |
|
_plac(), |
62 |
|
_citations(), |
63 |
|
_notes() |
64 |
|
{ |
65 |
|
return; |
66 |
|
} |
67 |
|
LdsSpouseSealing(LdsSpouseSealing const &l) : |
68 |
|
_status(l._status), |
69 |
|
_date(0), |
70 |
|
_temp(l._temp), |
71 |
|
_plac(l._plac), |
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 |
virtual ~LdsSpouseSealing(void) |
virtual ~LdsSpouseSealing(void) |
82 |
{ |
{ |
83 |
|
delete _date; _date = 0; |
84 |
|
return; |
85 |
}; |
}; |
86 |
///@name Accessors (set) |
///@name Accessors (set) |
87 |
//@{ |
//@{ |
104 |
/// |
/// |
105 |
virtual std::string const &getStatus(void) const; |
virtual std::string const &getStatus(void) const; |
106 |
/// |
/// |
107 |
virtual std::string const &getDate(void) const; |
virtual std::string const getDate(void) const; |
108 |
/// |
/// |
109 |
virtual std::string const &getTempleCode(void) const; |
virtual std::string const &getTempleCode(void) const; |
110 |
/// |
/// |