| 33 |
#include "GEDCOMParser/UserReference.hh" |
#include "GEDCOMParser/UserReference.hh" |
| 34 |
#include "GEDCOMParser/ChangeDate.hh" |
#include "GEDCOMParser/ChangeDate.hh" |
| 35 |
#include "GEDCOMParser/DateManagement/DateValue.hh" |
#include "GEDCOMParser/DateManagement/DateValue.hh" |
| 36 |
|
#include "GEDCOMParser/Visitor/GEDCOMElement.hh" |
| 37 |
|
|
| 38 |
/// |
/// |
| 39 |
namespace GEDCOMParser |
namespace GEDCOMParser |
| 40 |
{ |
{ |
| 41 |
|
class GEDCOMVisitor; |
| 42 |
/// @memo Implements the GEDCOM 5.5 SOURCE_RECORD structure |
/// @memo Implements the GEDCOM 5.5 SOURCE_RECORD structure |
| 43 |
class SourceRecord |
class SourceRecord : public GEDCOMElement |
| 44 |
{ |
{ |
| 45 |
public: |
public: |
| 46 |
/// @memo Implements the DATA members of SOURCE_RECORD structure |
/// @memo Implements the DATA members of SOURCE_RECORD structure |
| 47 |
class Data |
class Data : public GEDCOMElement |
| 48 |
{ |
{ |
| 49 |
public: |
public: |
| 50 |
/// @memo Implements the EVENT members of SOURCE_RECORD structure |
/// @memo Implements the EVENT members of SOURCE_RECORD structure |
| 51 |
class Event |
class Event : public GEDCOMElement |
| 52 |
{ |
{ |
| 53 |
public: |
public: |
| 54 |
Event(void) : |
Event(void) : |
| 90 |
/// |
/// |
| 91 |
virtual std::string const getDate(void) const; |
virtual std::string const getDate(void) const; |
| 92 |
/// |
/// |
| 93 |
|
GEDCOMParser::DateManagement::DateValue const * const getDateObject(void) const; |
| 94 |
|
/// |
| 95 |
virtual std::string const &getPlace(void) const; |
virtual std::string const &getPlace(void) const; |
| 96 |
|
virtual void Accept(GEDCOMParser::GEDCOMVisitor *); |
| 97 |
|
|
| 98 |
//@} |
//@} |
| 99 |
protected: |
protected: |
| 100 |
std::string _event; |
std::string _event; |
| 128 |
virtual std::string const &getAgnc(void) const; |
virtual std::string const &getAgnc(void) const; |
| 129 |
/// |
/// |
| 130 |
NoteStructures_t const &getNoteStructures(void) const; |
NoteStructures_t const &getNoteStructures(void) const; |
| 131 |
|
virtual void Accept(GEDCOMParser::GEDCOMVisitor *); |
| 132 |
|
|
| 133 |
//@} |
//@} |
| 134 |
protected: |
protected: |
| 135 |
Events_t _events; |
Events_t _events; |
| 203 |
virtual std::string const &getRin(void) const; |
virtual std::string const &getRin(void) const; |
| 204 |
/// |
/// |
| 205 |
SmartPtr<ChangeDate> const & getChangeDate(void) const; |
SmartPtr<ChangeDate> const & getChangeDate(void) const; |
| 206 |
//@} |
//@} |
| 207 |
|
virtual void Accept(GEDCOMParser::GEDCOMVisitor *); |
| 208 |
protected: |
protected: |
| 209 |
std::string _id; |
std::string _id; |
| 210 |
SmartPtr<Data> _data; |
SmartPtr<Data> _data; |