| 38 |
//@} |
//@} |
| 39 |
} |
} |
| 40 |
|
|
| 41 |
#include "GEDCOMParser/SourceCitation.hh" |
#include "GEDCOMParser/AttachmentManager.hh" |
|
#include "GEDCOMParser/NoteStructure.hh" |
|
| 42 |
#include "GEDCOMParser/DateManagement/DateValue.hh" |
#include "GEDCOMParser/DateManagement/DateValue.hh" |
| 43 |
|
|
| 44 |
/// |
/// |
| 45 |
namespace GEDCOMParser |
namespace GEDCOMParser |
| 46 |
{ |
{ |
| 47 |
/// @memo Implements the GEDCOM 5.5 LDS_SPOUSE_SEALING structure |
/// @memo Implements the GEDCOM 5.5 LDS_SPOUSE_SEALING structure |
| 48 |
class LdsSpouseSealing : public GEDCOMElement |
class LdsSpouseSealing : public GEDCOMElement, |
| 49 |
|
public AttachmentManager |
| 50 |
{ |
{ |
| 51 |
protected: |
protected: |
| 52 |
std::string _status; |
std::string _status; |
| 53 |
GEDCOMParser::DateManagement::DateValue * _date; |
GEDCOMParser::DateManagement::DateValue * _date; |
| 54 |
std::string _temp; |
std::string _temp; |
| 55 |
std::string _plac; |
std::string _plac; |
|
SourceCitations_t _citations; |
|
|
NoteStructures_t _notes; |
|
| 56 |
public: |
public: |
| 57 |
LdsSpouseSealing(void) : |
LdsSpouseSealing(void) : |
| 58 |
_status(), |
_status(), |
| 59 |
_date(0), |
_date(0), |
| 60 |
_temp(), |
_temp(), |
| 61 |
_plac(), |
_plac() |
|
_citations(), |
|
|
_notes() |
|
| 62 |
{ |
{ |
| 63 |
return; |
return; |
| 64 |
} |
} |
| 66 |
_status(l._status), |
_status(l._status), |
| 67 |
_date(0), |
_date(0), |
| 68 |
_temp(l._temp), |
_temp(l._temp), |
| 69 |
_plac(l._plac), |
_plac(l._plac) |
|
_citations(l._citations), |
|
|
_notes(l._notes) |
|
| 70 |
{ |
{ |
| 71 |
if (l._date != 0) |
if (l._date != 0) |
| 72 |
{ |
{ |
| 88 |
void setTempleCode (std::string const &); |
void setTempleCode (std::string const &); |
| 89 |
/// |
/// |
| 90 |
void setPlace (std::string const &); |
void setPlace (std::string const &); |
|
/// |
|
|
GEDCOMParser::SourceCitation * addSourceCitation (SourceCitation * const data = 0); |
|
|
/// |
|
|
GEDCOMParser::NoteStructure * addNoteStructure (NoteStructure * const data = 0); |
|
|
/// |
|
| 91 |
//@} |
//@} |
| 92 |
|
|
| 93 |
///@name Accessors (get) |
///@name Accessors (get) |
| 102 |
virtual std::string const &getTempleCode(void) const; |
virtual std::string const &getTempleCode(void) const; |
| 103 |
/// |
/// |
| 104 |
virtual std::string const &getPlace(void) const; |
virtual std::string const &getPlace(void) const; |
|
/// |
|
|
SourceCitations_t const &getSourceCitations(void) const; |
|
|
/// |
|
|
NoteStructures_t const &getNoteStructures(void) const; |
|
| 105 |
//@} |
//@} |
| 106 |
virtual void Accept(GEDCOMParser::GEDCOMVisitor *); |
virtual void Accept(GEDCOMParser::GEDCOMVisitor *); |
| 107 |
}; |
}; |