| 25 |
#include <vector> |
#include <vector> |
| 26 |
#include <string> |
#include <string> |
| 27 |
#include "patterns/SmartPtr.hh" |
#include "patterns/SmartPtr.hh" |
| 28 |
#include "GEDCOMParser/NoteStructure.hh" |
#include "GEDCOMParser/AttachmentManager.hh" |
|
#include "GEDCOMParser/SourceCitation.hh" |
|
| 29 |
#include "GEDCOMParser/DateManagement/DateValue.hh" |
#include "GEDCOMParser/DateManagement/DateValue.hh" |
| 30 |
#include "GEDCOMParser/Visitor/GEDCOMElement.hh" |
#include "GEDCOMParser/Visitor/GEDCOMElement.hh" |
| 31 |
|
|
| 34 |
{ |
{ |
| 35 |
class GEDCOMVisitor; |
class GEDCOMVisitor; |
| 36 |
/// @memo Implements the GEDCOM 5.5 LDS_INDIVIDUAL_ORDINANCE structure |
/// @memo Implements the GEDCOM 5.5 LDS_INDIVIDUAL_ORDINANCE structure |
| 37 |
class LdsIndividualOrdinance : public GEDCOMElement |
class LdsIndividualOrdinance : public GEDCOMElement, |
| 38 |
|
public AttachmentManager |
| 39 |
{ |
{ |
| 40 |
public: |
public: |
| 41 |
/// typedef'd to enumLdsIndividualOrdinance |
/// typedef'd to enumLdsIndividualOrdinance |
| 59 |
_date (0), |
_date (0), |
| 60 |
_temple_code (), |
_temple_code (), |
| 61 |
_place (), |
_place (), |
| 62 |
_famc_xref (), |
_famc_xref () |
|
_citations (), |
|
|
_notes () |
|
| 63 |
{ |
{ |
| 64 |
}; |
}; |
| 65 |
LdsIndividualOrdinance (LdsIndividualOrdinance const &l): |
LdsIndividualOrdinance (LdsIndividualOrdinance const &l): |
| 68 |
_date (0), |
_date (0), |
| 69 |
_temple_code (l._temple_code), |
_temple_code (l._temple_code), |
| 70 |
_place (l._place), |
_place (l._place), |
| 71 |
_famc_xref (l._famc_xref), |
_famc_xref (l._famc_xref) |
|
_citations (l._citations), |
|
|
_notes (l._notes) |
|
| 72 |
{ |
{ |
| 73 |
if (l._date != 0) |
if (l._date != 0) |
| 74 |
{ |
{ |
| 94 |
void setPlace (std::string const &); |
void setPlace (std::string const &); |
| 95 |
/// |
/// |
| 96 |
void setFamcXref (std::string const &); |
void setFamcXref (std::string const &); |
|
/// |
|
|
GEDCOMParser::SourceCitation * addSourceCitation (SourceCitation * const data = 0); |
|
|
/// |
|
|
GEDCOMParser::NoteStructure * addNoteStructure (NoteStructure * const data = 0); |
|
|
/// |
|
| 97 |
//@} |
//@} |
| 98 |
|
|
| 99 |
///@name Accessors (get) |
///@name Accessors (get) |
| 112 |
virtual std::string const &getPlace(void) const; |
virtual std::string const &getPlace(void) const; |
| 113 |
/// |
/// |
| 114 |
virtual std::string const &getFamcXref(void) const; |
virtual std::string const &getFamcXref(void) const; |
|
/// |
|
|
SourceCitations_t const &getSourceCitations(void) const; |
|
|
/// |
|
|
NoteStructures_t const &getNoteStructures(void) const; |
|
|
/// |
|
| 115 |
//@} |
//@} |
| 116 |
virtual void Accept(GEDCOMParser::GEDCOMVisitor *); |
virtual void Accept(GEDCOMParser::GEDCOMVisitor *); |
| 117 |
protected: |
protected: |
| 121 |
std::string _temple_code; |
std::string _temple_code; |
| 122 |
std::string _place; |
std::string _place; |
| 123 |
std::string _famc_xref; |
std::string _famc_xref; |
|
SourceCitations_t _citations; |
|
|
NoteStructures_t _notes; |
|
| 124 |
}; |
}; |
| 125 |
///@name typedefs |
///@name typedefs |
| 126 |
//@{ |
//@{ |