| 25 |
#include <string> |
#include <string> |
| 26 |
#include <vector> |
#include <vector> |
| 27 |
#include "patterns/SmartPtr.hh" |
#include "patterns/SmartPtr.hh" |
| 28 |
#include "GEDCOMParser/NoteStructure.hh" |
#include "GEDCOMParser/AttachmentManager.hh" |
| 29 |
#include "GEDCOMParser/Visitor/GEDCOMElement.hh" |
#include "GEDCOMParser/Visitor/GEDCOMElement.hh" |
| 30 |
|
|
| 31 |
/// |
/// |
| 33 |
{ |
{ |
| 34 |
class GEDCOMVisitor; |
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 : public GEDCOMElement |
class SourceRepositoryCitation : public GEDCOMElement, |
| 37 |
|
public AttachmentManager |
| 38 |
{ |
{ |
| 39 |
public: |
public: |
| 40 |
/// @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 |
| 76 |
/// |
/// |
| 77 |
void setRepoXref (std::string const &); |
void setRepoXref (std::string const &); |
| 78 |
/// |
/// |
|
GEDCOMParser::NoteStructure * addNoteStructure (NoteStructure * const data = 0); |
|
|
/// |
|
| 79 |
GEDCOMParser::SourceRepositoryCitation::SourceCallNumber * addSourceCallNumber (SourceRepositoryCitation::SourceCallNumber * const data = 0); |
GEDCOMParser::SourceRepositoryCitation::SourceCallNumber * addSourceCallNumber (SourceRepositoryCitation::SourceCallNumber * const data = 0); |
| 80 |
//@} |
//@} |
| 81 |
|
|
| 84 |
/// |
/// |
| 85 |
virtual std::string const &getRepoXref(void) const; |
virtual std::string const &getRepoXref(void) const; |
| 86 |
/// |
/// |
|
NoteStructures_t const &getNoteStructures(void) const; |
|
|
/// |
|
| 87 |
SourceCallNumbers_t const &getSourceCallNumbers(void) const; |
SourceCallNumbers_t const &getSourceCallNumbers(void) const; |
| 88 |
//@} |
//@} |
| 89 |
virtual void Accept(GEDCOMParser::GEDCOMVisitor *); |
virtual void Accept(GEDCOMParser::GEDCOMVisitor *); |
| 90 |
protected: |
protected: |
| 91 |
std::string _repo_xref; |
std::string _repo_xref; |
|
NoteStructures_t _notes; |
|
| 92 |
SourceCallNumbers_t _call_numbers; |
SourceCallNumbers_t _call_numbers; |
| 93 |
}; |
}; |
| 94 |
}; |
}; |