/[ghosts]/ghosts/gedcomparser/src/GEDCOMParser/NoteRecord.hh
ViewVC logotype

Diff of /ghosts/gedcomparser/src/GEDCOMParser/NoteRecord.hh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by cpcp, Thu Feb 20 22:09:15 2003 UTC revision 1.6 by cpcp, Sun Nov 16 15:22:13 2003 UTC
# Line 25  Line 25 
25  #include <map>  #include <map>
26  #include <string>  #include <string>
27    
28  #include "GEDCOMParser/SourceCitation.hh"  
29  #include "GEDCOMParser/UserReference.hh"  #include "GEDCOMParser/AttachmentManager.hh"
30  #include "GEDCOMParser/ChangeDate.hh"  #include "GEDCOMParser/AutomatedRecordIdManager.hh"
31    #include "GEDCOMParser/ChangelogManager.hh"
32    #include "GEDCOMParser/UserReferenceManager.hh"
33  #include "GEDCOMParser/Visitor/GEDCOMElement.hh"  #include "GEDCOMParser/Visitor/GEDCOMElement.hh"
34    
35  ///  ///
# Line 35  namespace GEDCOMParser Line 37  namespace GEDCOMParser
37  {  {
38    class GEDCOMVisitor;    class GEDCOMVisitor;
39    /// @memo Implements the GEDCOM 5.5 NOTE_RECORD structure      /// @memo Implements the GEDCOM 5.5 NOTE_RECORD structure  
40    class NoteRecord : public GEDCOMElement    class NoteRecord : public GEDCOMElement,
41                         public AttachmentManager,
42                         public AutomatedRecordIdManager,
43                         public ChangelogManager,
44                         public UserReferenceManager
45    {    {
46    public:    public:
47      NoteRecord(std::string const &id = "");      NoteRecord(std::string const &id = "");
# Line 50  namespace GEDCOMParser Line 56  namespace GEDCOMParser
56      void contSubmitterText  (std::string const &);      void contSubmitterText  (std::string const &);
57      ///      ///
58      void concSubmitterText  (std::string const &);      void concSubmitterText  (std::string const &);
     ///  
     GEDCOMParser::SourceCitation  * addSourceCitation (SourceCitation  * const data = 0);  
     ///  
     GEDCOMParser::UserReference  * addUserReference (UserReference  * const data = 0);  
     ///  
     void setRin  (std::string const &);  
     ///  
     GEDCOMParser::ChangeDate  * setChangeDate (ChangeDate  * const data = 0);  
59     //@}       //@}  
60      ///@name Accessors (get)      ///@name Accessors (get)
61      //@{          //@{    
# Line 65  namespace GEDCOMParser Line 63  namespace GEDCOMParser
63      virtual std::string const &getId(void) const;      virtual std::string const &getId(void) const;
64      ///      ///
65      virtual std::string const &getSubmitterText(void) const;      virtual std::string const &getSubmitterText(void) const;
     ///  
     SourceCitations_t const &getSourceCitations(void) const ;  
     ///  
     UserReferences_t const &getUserReferences(void) const ;  
     ///  
     virtual std::string const &getRin(void) const;  
     ///  
     SmartPtr<ChangeDate> const & getChangeDate(void) const ;  
66      //@}      //@}
67      virtual void Accept(GEDCOMParser::GEDCOMVisitor *);      virtual void Accept(GEDCOMParser::GEDCOMVisitor *);
68    protected:    protected:
69      std::string _note_id;      std::string _note_id;
70      std::string _submitter_text;      std::string _submitter_text;
     SourceCitations_t _sources;  
     UserReferences_t _user_references;  
     std::string _rin;  
     SmartPtr<ChangeDate> _change_date;  
71    };    };
72    ///@name typedefs    ///@name typedefs
73    //@{    //@{

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26