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

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

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

revision 1.13 by cpcp, Thu Oct 30 20:05:42 2003 UTC revision 1.14 by cpcp, Sun Nov 16 15:22:12 2003 UTC
# Line 33  Line 33 
33  #include "GEDCOMParser/ChildToFamilyLink.hh"  #include "GEDCOMParser/ChildToFamilyLink.hh"
34  #include "GEDCOMParser/SpouseToFamilyLink.hh"  #include "GEDCOMParser/SpouseToFamilyLink.hh"
35  #include "GEDCOMParser/Association.hh"  #include "GEDCOMParser/Association.hh"
36  #include "GEDCOMParser/SourceCitation.hh"  #include "GEDCOMParser/AttachmentManager.hh"
37  #include "GEDCOMParser/MultimediaLink.hh"  #include "GEDCOMParser/AutomatedRecordIdManager.hh"
38  #include "GEDCOMParser/NoteStructure.hh"  #include "GEDCOMParser/ChangelogManager.hh"
39  #include "GEDCOMParser/UserReference.hh"  #include "GEDCOMParser/UserReferenceManager.hh"
 #include "GEDCOMParser/ChangeDate.hh"  
40  #include "GEDCOMParser/Visitor/GEDCOMElement.hh"  #include "GEDCOMParser/Visitor/GEDCOMElement.hh"
41    
42  ///  ///
# Line 57  namespace GEDCOMParser Line 56  namespace GEDCOMParser
56    //@}    //@}
57        
58    /// @memo Implements the GEDCOM 5.5 INDIVIDUAL_RECORD structure    /// @memo Implements the GEDCOM 5.5 INDIVIDUAL_RECORD structure
59    class IndividualRecord : public GEDCOMElement    class IndividualRecord : public GEDCOMElement,
60                               public AttachmentManager,
61                               public AutomatedRecordIdManager,
62                               public ChangelogManager,
63                               public UserReferenceManager
64    {    {
65    public:    public:
66      IndividualRecord(std::string const &id = "");      IndividualRecord(std::string const &id = "");
# Line 99  namespace GEDCOMParser Line 102  namespace GEDCOMParser
102      ///      ///
103      void addDesiXref  (std::string const &);      void addDesiXref  (std::string const &);
104      ///      ///
     GEDCOMParser::SourceCitation  * addSourceCitation (SourceCitation  * const data = 0);  
     ///  
     GEDCOMParser::MultimediaLink  * addMultimediaLink (MultimediaLink  * const data = 0);  
     ///  
     GEDCOMParser::NoteStructure  * addNoteStructure (NoteStructure  * const data = 0);  
     ///  
105      void setRfn  (std::string const &);      void setRfn  (std::string const &);
106      ///      ///
107      void setAfn  (std::string const &);      void setAfn  (std::string const &);
108      ///      ///
     GEDCOMParser::UserReference  * addUserReference (UserReference  * const data = 0);  
     ///  
     void setRin  (std::string const &);  
     ///  
     GEDCOMParser::ChangeDate  * setChangeDate (ChangeDate  * const data = 0);  
     ///  
109      //@}      //@}
110      ///@name Accessors (get)      ///@name Accessors (get)
111      //@{          //@{    
# Line 152  namespace GEDCOMParser Line 143  namespace GEDCOMParser
143      ///      ///
144      DesiXrefs_t const &getDesiXrefs(void) const ;      DesiXrefs_t const &getDesiXrefs(void) const ;
145      ///      ///
     SourceCitations_t const &getSourceCitations(void) const ;  
     ///  
     MultimediaLinks_t const &getMultimediaLinks(void) const ;  
     ///  
     NoteStructures_t const &getNoteStructures(void) const ;  
     ///  
146      virtual std::string const &getRfn(void) const;      virtual std::string const &getRfn(void) const;
147      ///      ///
148      virtual std::string const &getAfn(void) const;      virtual std::string const &getAfn(void) const;
149      ///      ///
     UserReferences_t const &getUserReferences(void) const ;  
     ///  
     virtual std::string const &getRin(void) const;  
     ///  
     SmartPtr<ChangeDate> const & getChangeDate(void) const ;  
     ///  
150      //@}      //@}
151            
152      /// operator == used to find an individual by its id      /// operator == used to find an individual by its id
# Line 192  namespace GEDCOMParser Line 171  namespace GEDCOMParser
171      AliaXrefs_t _alia_xrefs;      AliaXrefs_t _alia_xrefs;
172      AnciXrefs_t _anci_xrefs;      AnciXrefs_t _anci_xrefs;
173      DesiXrefs_t _desi_xrefs;      DesiXrefs_t _desi_xrefs;
     SourceCitations_t _citations;  
     MultimediaLinks_t _mm_links;  
     NoteStructures_t _notes;  
174      std::string _rfn;      std::string _rfn;
175      std::string _afn;      std::string _afn;
     UserReferences_t _user_references;  
     std::string _rin;  
     SmartPtr<ChangeDate> _change_date;  
176    };    };
177    
178    ///@name typedefs    ///@name typedefs

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

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