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

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

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

revision 1.6 by cpcp, Thu Oct 30 20:05:42 2003 UTC revision 1.7 by cpcp, Sun Nov 16 15:22:12 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  /// Package GEDCOMParser  /// Package GEDCOMParser
# Line 38  namespace GEDCOMParser Line 38  namespace GEDCOMParser
38    typedef std::vector<std::string> Pedis_t;    typedef std::vector<std::string> Pedis_t;
39    //@}    //@}
40    /// @memo Implements the GEDCOM 5.5 CHILD_TO_FAMILY_LINK structure    /// @memo Implements the GEDCOM 5.5 CHILD_TO_FAMILY_LINK structure
41    class ChildToFamilyLink : public GEDCOMElement    class ChildToFamilyLink : public GEDCOMElement,
42                                public AttachmentManager
43    {    {
44    public:    public:
45      virtual ~ChildToFamilyLink(void)      virtual ~ChildToFamilyLink(void)
# Line 50  namespace GEDCOMParser Line 51  namespace GEDCOMParser
51      void setFamcXref  (std::string const &);      void setFamcXref  (std::string const &);
52      ///      ///
53      void addPedi  (std::string const &);      void addPedi  (std::string const &);
     ///  
     GEDCOMParser::NoteStructure  * addNoteStructure (NoteStructure  * const data = 0);  
54      //@}          //@}    
55      ///@name Accessors (get)      ///@name Accessors (get)
56      //@{      //@{
# Line 60  namespace GEDCOMParser Line 59  namespace GEDCOMParser
59      ///      ///
60      virtual std::string const &getFamcXref(void) const;      virtual std::string const &getFamcXref(void) const;
61      ///      ///
     NoteStructures_t const &getNoteStructures(void) const;  
     ///  
62      class IsEqualByFamcXref {      class IsEqualByFamcXref {
63      public:      public:
64        IsEqualByFamcXref(std::string const &xref) : _xref(xref)        IsEqualByFamcXref(std::string const &xref) : _xref(xref)
# Line 78  namespace GEDCOMParser Line 75  namespace GEDCOMParser
75    protected:    protected:
76      std::string _famc_xref;      std::string _famc_xref;
77      Pedis_t _pedis;      Pedis_t _pedis;
     NoteStructures_t _notes;  
78    };    };
79    ///@name typedefs    ///@name typedefs
80    //@{    //@{

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

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