38 |
|
|
39 |
#include "GEDCOMParser/MultimediaLink.hh" |
#include "GEDCOMParser/MultimediaLink.hh" |
40 |
#include "GEDCOMParser/NoteStructure.hh" |
#include "GEDCOMParser/NoteStructure.hh" |
41 |
|
#include "GEDCOMParser/DateManagement/DateValue.hh" |
42 |
|
|
43 |
/// |
/// |
44 |
namespace GEDCOMParser |
namespace GEDCOMParser |
51 |
std::string _page; |
std::string _page; |
52 |
std::string _event; |
std::string _event; |
53 |
std::string _event_role; |
std::string _event_role; |
54 |
std::string _data_date; |
GEDCOMParser::DateManagement::DateValue * _data_date; |
55 |
std::string _data_text; |
std::string _data_text; |
56 |
std::string _quay; |
std::string _quay; |
57 |
MultimediaLinks_t _mm_links; |
MultimediaLinks_t _mm_links; |
59 |
std::string _description; |
std::string _description; |
60 |
std::string _text; |
std::string _text; |
61 |
public: |
public: |
62 |
|
SourceCitation(void) : |
63 |
|
_source_xref(), |
64 |
|
_page(), |
65 |
|
_event(), |
66 |
|
_event_role(), |
67 |
|
_data_date(0), |
68 |
|
_data_text(), |
69 |
|
_quay(), |
70 |
|
_mm_links(), |
71 |
|
_notes(), |
72 |
|
_description(), |
73 |
|
_text() |
74 |
|
{ |
75 |
|
return; |
76 |
|
}; |
77 |
|
SourceCitation(SourceCitation const &s) : |
78 |
|
_source_xref(s._source_xref), |
79 |
|
_page(s._page), |
80 |
|
_event(s._event), |
81 |
|
_event_role(s._event_role), |
82 |
|
_data_date(0), |
83 |
|
_data_text(s._data_text), |
84 |
|
_quay(s._quay), |
85 |
|
_mm_links(s._mm_links), |
86 |
|
_notes(s._notes), |
87 |
|
_description(s._description), |
88 |
|
_text(s._text) |
89 |
|
{ |
90 |
|
if (s._data_date != 0) |
91 |
|
{ |
92 |
|
_data_date = new GEDCOMParser::DateManagement::DateValue(*s._data_date); |
93 |
|
} |
94 |
|
return; |
95 |
|
}; |
96 |
|
|
97 |
|
virtual ~SourceCitation(void) |
98 |
|
{ |
99 |
|
delete _data_date; _data_date = 0; |
100 |
|
return; |
101 |
|
} |
102 |
|
|
103 |
|
|
104 |
///@name Accessors (set) |
///@name Accessors (set) |
105 |
//@{ |
//@{ |
106 |
/// |
/// |
144 |
/// |
/// |
145 |
virtual std::string const &getEventRole(void) const; |
virtual std::string const &getEventRole(void) const; |
146 |
/// |
/// |
147 |
virtual std::string const &getDataDate(void) const; |
virtual std::string const getDataDate(void) const; |
148 |
/// |
/// |
149 |
virtual std::string const &getDataText(void) const; |
virtual std::string const &getDataText(void) const; |
150 |
/// |
/// |