| 25 |
#include <string> |
#include <string> |
| 26 |
#include <vector> |
#include <vector> |
| 27 |
#include "patterns/SmartPtr.hh" |
#include "patterns/SmartPtr.hh" |
| 28 |
|
#include "GEDCOMParser/Visitor/GEDCOMElement.hh" |
| 29 |
|
|
| 30 |
/// Package GEDCOMParser |
/// Package GEDCOMParser |
| 31 |
namespace GEDCOMParser |
namespace GEDCOMParser |
| 43 |
/// |
/// |
| 44 |
namespace GEDCOMParser |
namespace GEDCOMParser |
| 45 |
{ |
{ |
| 46 |
|
class GEDCOMVisitor; |
| 47 |
/// @memo Implements the GEDCOM 5.5 FAMILY_EVENT_STRUCTURE structure |
/// @memo Implements the GEDCOM 5.5 FAMILY_EVENT_STRUCTURE structure |
| 48 |
class FamilyEvent |
class FamilyEvent : public GEDCOMElement |
| 49 |
{ |
{ |
| 50 |
public: |
public: |
| 51 |
/// @memo Implements the GEDCOM 5.5 EVENT_TYPE_FAMILY enumeration (typedef'd to enumFamilyEvents) |
/// @memo Implements the GEDCOM 5.5 EVENT_TYPE_FAMILY enumeration (typedef'd to enumFamilyEvents) |
| 126 |
{ |
{ |
| 127 |
return (eve._type == (FamilyEvent::enumFamilyEvents)type); |
return (eve._type == (FamilyEvent::enumFamilyEvents)type); |
| 128 |
}; |
}; |
| 129 |
|
virtual void Accept(GEDCOMParser::GEDCOMVisitor *); |
| 130 |
protected: |
protected: |
| 131 |
enumFamilyEvents _type; |
enumFamilyEvents _type; |
| 132 |
SmartPtr<Event> _event; |
SmartPtr<Event> _event; |