| 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 |
/// |
/// |
| 31 |
namespace GEDCOMParser |
namespace GEDCOMParser |
| 32 |
{ |
{ |
| 33 |
|
class GEDCOMVisitor; |
| 34 |
/// @memo Implements the USER REFERENCE members of many structures in the GEDCOM 5.5 specifications (for instance INDIVIDUAL_RECORD) |
/// @memo Implements the USER REFERENCE members of many structures in the GEDCOM 5.5 specifications (for instance INDIVIDUAL_RECORD) |
| 35 |
class UserReference |
class UserReference : public GEDCOMElement |
| 36 |
{ |
{ |
| 37 |
protected: |
protected: |
| 38 |
std::string _number; |
std::string _number; |
| 54 |
/// |
/// |
| 55 |
virtual std::string const &getType(void) const; |
virtual std::string const &getType(void) const; |
| 56 |
//@} |
//@} |
| 57 |
|
virtual void Accept(GEDCOMParser::GEDCOMVisitor *); |
| 58 |
}; |
}; |
| 59 |
///@name typedefs |
///@name typedefs |
| 60 |
//@{ |
//@{ |
| 61 |
/// @doc handling of many user references |
/// @doc handling of many user references |
| 62 |
typedef std::vector < SmartPtr < UserReference > > UserReferences_t; |
typedef std::vector < SmartPtr < UserReference > > UserReferences_t; |
| 63 |
//@} |
//@} |
| 64 |
|
|
| 65 |
}; |
}; |
| 66 |
#endif |
#endif |