| 26 |
#include <vector> |
#include <vector> |
| 27 |
#include "patterns/SmartPtr.hh" |
#include "patterns/SmartPtr.hh" |
| 28 |
#include "GEDCOMParser/NoteStructure.hh" |
#include "GEDCOMParser/NoteStructure.hh" |
| 29 |
|
#include "GEDCOMParser/Visitor/GEDCOMElement.hh" |
| 30 |
|
|
| 31 |
/// |
/// |
| 32 |
namespace GEDCOMParser |
namespace GEDCOMParser |
| 33 |
{ |
{ |
| 34 |
|
class GEDCOMVisitor; |
| 35 |
/// @memo Implements the GEDCOM 5.5 SOURCE_REPOSITORY_CITATION structure |
/// @memo Implements the GEDCOM 5.5 SOURCE_REPOSITORY_CITATION structure |
| 36 |
class SourceRepositoryCitation |
class SourceRepositoryCitation : public GEDCOMElement |
| 37 |
{ |
{ |
| 38 |
public: |
public: |
| 39 |
/// @memo Implements the SOURCE_CALL_NUMBER members of the SOURCE_REPOSITORY_CITATION structure |
/// @memo Implements the SOURCE_CALL_NUMBER members of the SOURCE_REPOSITORY_CITATION structure |
| 40 |
class SourceCallNumber |
class SourceCallNumber : public GEDCOMElement |
| 41 |
{ |
{ |
| 42 |
public: |
public: |
| 43 |
virtual ~SourceCallNumber(void) |
virtual ~SourceCallNumber(void) |
| 57 |
virtual std::string const &getCallNumber(void) const; |
virtual std::string const &getCallNumber(void) const; |
| 58 |
/// |
/// |
| 59 |
virtual std::string const &getMedi(void) const; |
virtual std::string const &getMedi(void) const; |
| 60 |
|
virtual void Accept(GEDCOMParser::GEDCOMVisitor *); |
| 61 |
|
|
| 62 |
//@} |
//@} |
| 63 |
protected: |
protected: |
| 64 |
std::string _caln; |
std::string _caln; |
| 89 |
/// |
/// |
| 90 |
SourceCallNumbers_t const &getSourceCallNumbers(void) const; |
SourceCallNumbers_t const &getSourceCallNumbers(void) const; |
| 91 |
//@} |
//@} |
| 92 |
|
virtual void Accept(GEDCOMParser::GEDCOMVisitor *); |
| 93 |
protected: |
protected: |
| 94 |
std::string _repo_xref; |
std::string _repo_xref; |
| 95 |
NoteStructures_t _notes; |
NoteStructures_t _notes; |