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

Diff of /ghosts/gedcomparser/src/GEDCOMParser/Header.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 24  Line 24 
24    
25  #include <string>  #include <string>
26    
27  #include "GEDCOMParser/Address.hh"  #include "GEDCOMParser/AddressManager.hh"
28  #include "GEDCOMParser/Data.hh"  #include "GEDCOMParser/Data.hh"
29  #include "patterns/SmartPtr.hh"  #include "patterns/SmartPtr.hh"
30  #include "GEDCOMParser/DateManagement/DateValue.hh"  #include "GEDCOMParser/DateManagement/DateValue.hh"
# Line 41  namespace GEDCOMParser Line 41  namespace GEDCOMParser
41    
42    /** @memo Implements the GEDCOM 5.5 HEADER structure    /** @memo Implements the GEDCOM 5.5 HEADER structure
43     */     */
44    class Header : public GEDCOMElement    class Header : public GEDCOMElement,
45                     public AddressManager
46    {    {
47    protected:    protected:
48      std::string _sour;      std::string _sour;
49      std::string _vers;      std::string _vers;
50      std::string _name;      std::string _name;
51      std::string _corp;      std::string _corp;
     SmartPtr<Address> _addr;  
52      SmartPtr<Data> _data;      SmartPtr<Data> _data;
53      std::string _dest;      std::string _dest;
54      GEDCOMParser::DateManagement::DateValue * _date;      GEDCOMParser::DateManagement::DateValue * _date;
# Line 70  namespace GEDCOMParser Line 70  namespace GEDCOMParser
70          _vers (),          _vers (),
71          _name (),          _name (),
72          _corp (),          _corp (),
         _addr (),  
73          _data (),          _data (),
74          _dest (),          _dest (),
75          _date (0),          _date (0),
# Line 93  namespace GEDCOMParser Line 92  namespace GEDCOMParser
92        _vers (h._vers),        _vers (h._vers),
93        _name (h._name),        _name (h._name),
94        _corp (h._corp),        _corp (h._corp),
       _addr (h._addr),  
95        _data (h._data),        _data (h._data),
96        _dest (h._dest),        _dest (h._dest),
97        _date (0),        _date (0),
# Line 131  namespace GEDCOMParser Line 129  namespace GEDCOMParser
129      ///      ///
130      void setCorp  (std::string const &);      void setCorp  (std::string const &);
131      ///      ///
     GEDCOMParser::Address  * setAddress (Address  * const data = 0);  
     ///  
132      GEDCOMParser::Data  * setData (Data  * const data = 0);      GEDCOMParser::Data  * setData (Data  * const data = 0);
133      ///      ///
134      void setDest  (std::string const &);      void setDest  (std::string const &);
# Line 179  namespace GEDCOMParser Line 175  namespace GEDCOMParser
175      ///      ///
176      virtual std::string const &getCorp(void) const;      virtual std::string const &getCorp(void) const;
177      ///      ///
     SmartPtr<Address> const & getAddress(void) const;  
     ///  
178      SmartPtr<Data> const & getData(void) const;      SmartPtr<Data> const & getData(void) const;
179      ///      ///
180      virtual std::string const &getDest(void) const;      virtual std::string const &getDest(void) const;

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