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

Diff of /ghosts/gedcomparser/src/GEDCOMParser/Place.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:13 2003 UTC
# Line 23  Line 23 
23  #define _GEDCOMPARSER_PLACE_HH_  #define _GEDCOMPARSER_PLACE_HH_
24    
25  #include <string>  #include <string>
26  #include "GEDCOMParser/SourceCitation.hh"  #include "GEDCOMParser/AttachmentManager.hh"
 #include "GEDCOMParser/NoteStructure.hh"  
27  #include "GEDCOMParser/Visitor/GEDCOMElement.hh"  #include "GEDCOMParser/Visitor/GEDCOMElement.hh"
28    
29  ///  ///
# Line 32  namespace GEDCOMParser Line 31  namespace GEDCOMParser
31  {  {
32    class GEDCOMVisitor;    class GEDCOMVisitor;
33    /// @memo Implements the GEDCOM 5.5 PLACE_STRUCTURE structure      /// @memo Implements the GEDCOM 5.5 PLACE_STRUCTURE structure  
34    class Place : public GEDCOMElement    class Place : public GEDCOMElement,
35                    public AttachmentManager
36    {    {
37    protected:    protected:
38      std::string _value;      std::string _value;
39      std::string _hierarchy;      std::string _hierarchy;
     SourceCitations_t _citations;  
     NoteStructures_t _notes;  
40    public:    public:
41      virtual ~Place(void)      virtual ~Place(void)
42      {      {
# Line 49  namespace GEDCOMParser Line 47  namespace GEDCOMParser
47      void setPlaceValue  (std::string const &);      void setPlaceValue  (std::string const &);
48      ///      ///
49      void setPlaceHierarchy  (std::string const &);      void setPlaceHierarchy  (std::string const &);
     ///  
     GEDCOMParser::SourceCitation  * addSourceCitation (SourceCitation  * const data = 0);  
     ///  
     GEDCOMParser::NoteStructure  * addNoteStructure (NoteStructure  * const data = 0);  
50      //@}      //@}
51    
52      ///@name Accessors (get)      ///@name Accessors (get)
# Line 61  namespace GEDCOMParser Line 55  namespace GEDCOMParser
55      virtual std::string const &getPlaceValue(void) const;      virtual std::string const &getPlaceValue(void) const;
56      ///      ///
57      virtual std::string const &getPlaceHierarchy(void) const;      virtual std::string const &getPlaceHierarchy(void) const;
     ///  
     SourceCitations_t const &getSourceCitations(void) const;  
     ///  
     NoteStructures_t const &getNoteStructures(void) const;  
58      //@}      //@}
59      virtual void Accept(GEDCOMParser::GEDCOMVisitor *);      virtual void Accept(GEDCOMParser::GEDCOMVisitor *);
60    };    };

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