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

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

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

revision 1.4 by cpcp, Thu Feb 20 22:09:15 2003 UTC revision 1.5 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"
 #include "GEDCOMParser/SourceCitation.hh"  
29  #include "GEDCOMParser/Visitor/GEDCOMElement.hh"  #include "GEDCOMParser/Visitor/GEDCOMElement.hh"
30    
31  /// Package GEDCOMParser  /// Package GEDCOMParser
# Line 44  namespace GEDCOMParser Line 43  namespace GEDCOMParser
43    
44    //@}    //@}
45    /// @memo Implements the GEDCOM 5.5 ASSOCIATION_STRUCTURE structure    /// @memo Implements the GEDCOM 5.5 ASSOCIATION_STRUCTURE structure
46    class Association : public GEDCOMElement    class Association : public GEDCOMElement,
47                          public AttachmentManager
48    {    {
49    public:    public:
50      virtual ~Association(void)      virtual ~Association(void)
# Line 58  namespace GEDCOMParser Line 58  namespace GEDCOMParser
58      void setType  (std::string const &);      void setType  (std::string const &);
59      ///      ///
60      void setRela  (std::string const &);      void setRela  (std::string const &);
     ///  
     GEDCOMParser::NoteStructure  * addNoteStructure (NoteStructure  * const data = 0);  
     ///  
     GEDCOMParser::SourceCitation  * addSourceCitation (SourceCitation  * const data = 0);  
61      //@}      //@}
62      ///@name Accessors (get)      ///@name Accessors (get)
63      //@{          //@{    
# Line 71  namespace GEDCOMParser Line 67  namespace GEDCOMParser
67      virtual std::string const &getType(void) const;      virtual std::string const &getType(void) const;
68      ///      ///
69      virtual std::string const &getRela(void) const;      virtual std::string const &getRela(void) const;
     ///  
     NoteStructures_t const & getNoteStructures(void) const;  
     ///  
     SourceCitations_t const & getSourceCitations(void) const;  
70      //@}      //@}
71      virtual void Accept(GEDCOMParser::GEDCOMVisitor *);      virtual void Accept(GEDCOMParser::GEDCOMVisitor *);
72    protected:    protected:
73      IndiXrefs_t _indi_xrefs;      IndiXrefs_t _indi_xrefs;
74      std::string _type;      std::string _type;
75      std::string _rela;      std::string _rela;
     NoteStructures_t  _notes;  
     SourceCitations_t _citations;  
76    };    };
77  };  };
78  #endif  #endif

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

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