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

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

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

revision 1.5 by cpcp, Thu Mar 13 19:59:35 2003 UTC revision 1.6 by cpcp, Sun Nov 16 15:22:13 2003 UTC
# Line 25  Line 25 
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  ///  ///
# Line 33  namespace GEDCOMParser Line 33  namespace GEDCOMParser
33  {  {
34    class GEDCOMVisitor;    class GEDCOMVisitor;
35    /// @memo Implements the GEDCOM 5.5 SPOUSE_TO_FAMILY_LINK structure    /// @memo Implements the GEDCOM 5.5 SPOUSE_TO_FAMILY_LINK structure
36    class SpouseToFamilyLink : public GEDCOMElement    class SpouseToFamilyLink : public GEDCOMElement,
37                                 public AttachmentManager
38    {    {
39    public:    public:
40      virtual ~SpouseToFamilyLink(void) {};      virtual ~SpouseToFamilyLink(void) {};
# Line 41  namespace GEDCOMParser Line 42  namespace GEDCOMParser
42      //@{          //@{    
43      ///      ///
44      void setFamsXref  (std::string const &);      void setFamsXref  (std::string const &);
     ///  
     GEDCOMParser::NoteStructure  * addNoteStructure (NoteStructure  * const data = 0);  
45      //@}      //@}
46      ///@name Accessors (get)      ///@name Accessors (get)
47      //@{            //@{      
# Line 51  namespace GEDCOMParser Line 50  namespace GEDCOMParser
50      ///      ///
51      virtual std::string const &getFamsXref(void) const;      virtual std::string const &getFamsXref(void) const;
52      ///      ///
     NoteStructures_t const &getNoteStructures(void) const;  
     ///  
53      class IsEqualByFamsXref {      class IsEqualByFamsXref {
54      public:      public:
55        IsEqualByFamsXref(std::string const &xref) : _xref(xref)        IsEqualByFamsXref(std::string const &xref) : _xref(xref)
# Line 67  namespace GEDCOMParser Line 64  namespace GEDCOMParser
64      virtual void Accept(GEDCOMParser::GEDCOMVisitor *);      virtual void Accept(GEDCOMParser::GEDCOMVisitor *);
65    protected:    protected:
66      std::string _fams_xref;      std::string _fams_xref;
     NoteStructures_t _notes;  
67    };    };
68    ///@name typedefs    ///@name typedefs
69    //@{    //@{

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