| 28 |
|
|
| 29 |
#include "GEDCOMParser/IndividualRecord.hh" |
#include "GEDCOMParser/IndividualRecord.hh" |
| 30 |
#include "GEDCOMParser/FamilyEvent.hh" |
#include "GEDCOMParser/FamilyEvent.hh" |
|
#include "GEDCOMParser/UserReference.hh" |
|
| 31 |
#include "GEDCOMParser/LdsSpouseSealing.hh" |
#include "GEDCOMParser/LdsSpouseSealing.hh" |
| 32 |
#include "GEDCOMParser/SourceCitation.hh" |
#include "GEDCOMParser/AttachmentManager.hh" |
| 33 |
#include "GEDCOMParser/MultimediaLink.hh" |
#include "GEDCOMParser/AutomatedRecordIdManager.hh" |
| 34 |
#include "GEDCOMParser/NoteStructure.hh" |
#include "GEDCOMParser/ChangelogManager.hh" |
| 35 |
#include "GEDCOMParser/ChangeDate.hh" |
#include "GEDCOMParser/UserReferenceManager.hh" |
| 36 |
#include "GEDCOMParser/Visitor/GEDCOMElement.hh" |
#include "GEDCOMParser/Visitor/GEDCOMElement.hh" |
| 37 |
|
|
| 38 |
/// Package GEDCOMParser |
/// Package GEDCOMParser |
| 46 |
typedef std::vector<std::string> ChildXrefs_t; |
typedef std::vector<std::string> ChildXrefs_t; |
| 47 |
//@} |
//@} |
| 48 |
/// @memo Implements the GEDCOM 5.5 FAMILY_RECORD structure |
/// @memo Implements the GEDCOM 5.5 FAMILY_RECORD structure |
| 49 |
class FamilyRecord : public GEDCOMElement |
class FamilyRecord : public GEDCOMElement, |
| 50 |
|
public AttachmentManager, |
| 51 |
|
public AutomatedRecordIdManager, |
| 52 |
|
public ChangelogManager, |
| 53 |
|
public UserReferenceManager |
| 54 |
{ |
{ |
| 55 |
public: |
public: |
| 56 |
///operator == used to find a family by its id |
///operator == used to find a family by its id |
| 91 |
/// |
/// |
| 92 |
GEDCOMParser::LdsSpouseSealing * addLdsSpouseSealing (LdsSpouseSealing * const data = 0); |
GEDCOMParser::LdsSpouseSealing * addLdsSpouseSealing (LdsSpouseSealing * const data = 0); |
| 93 |
/// |
/// |
|
GEDCOMParser::SourceCitation * addSourceCitation (SourceCitation * const data = 0); |
|
|
/// |
|
|
GEDCOMParser::MultimediaLink * addMultimediaLink (MultimediaLink * const data = 0); |
|
|
/// |
|
|
GEDCOMParser::NoteStructure * addNoteStructure (NoteStructure * const data = 0); |
|
|
/// |
|
|
GEDCOMParser::UserReference * addUserReference (UserReference * const data = 0); |
|
|
/// |
|
|
void setRin (std::string const &); |
|
|
/// |
|
|
GEDCOMParser::ChangeDate * setChangeDate (ChangeDate * const data = 0); |
|
|
/// |
|
| 94 |
//@} |
//@} |
| 95 |
|
|
| 96 |
///@name Accessors (get) |
///@name Accessors (get) |
| 110 |
virtual std::string const &getSubm(void) const; |
virtual std::string const &getSubm(void) const; |
| 111 |
/// |
/// |
| 112 |
LdsSpouseSealings_t const &getLdsSpouseSealings(void) const; |
LdsSpouseSealings_t const &getLdsSpouseSealings(void) const; |
|
/// |
|
|
SourceCitations_t const &getSourceCitations(void) const; |
|
|
/// |
|
|
MultimediaLinks_t const &getMultimediaLinks(void) const; |
|
|
/// |
|
|
NoteStructures_t const &getNoteStructures(void) const; |
|
|
/// |
|
|
UserReferences_t const &getUserReferences(void) const; |
|
|
/// |
|
|
virtual std::string const &getRin(void) const; |
|
|
/// |
|
|
SmartPtr<ChangeDate> const & getChangeDate(void) const; |
|
| 113 |
//@} |
//@} |
| 114 |
virtual void Accept(GEDCOMParser::GEDCOMVisitor *); |
virtual void Accept(GEDCOMParser::GEDCOMVisitor *); |
| 115 |
protected: |
protected: |
| 121 |
std::string _nchi; |
std::string _nchi; |
| 122 |
std::string _subm; |
std::string _subm; |
| 123 |
LdsSpouseSealings_t _lds_spouse_sealings; |
LdsSpouseSealings_t _lds_spouse_sealings; |
|
SourceCitations_t _citations; |
|
|
MultimediaLinks_t _mm_links; |
|
|
NoteStructures_t _notes; |
|
|
UserReferences_t _user_references; |
|
|
std::string _rin; |
|
|
SmartPtr<ChangeDate> _change_date; |
|
| 124 |
}; |
}; |
| 125 |
///@name typedefs |
///@name typedefs |
| 126 |
//@{ |
//@{ |