/[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.1.2.1 by cpcp, Sun Aug 18 19:49:21 2002 UTC revision 1.1.2.2 by cpcp, Sun Oct 27 11:58:04 2002 UTC
# Line 27  Line 27 
27  #include "GEDCOMParser/Address.hh"  #include "GEDCOMParser/Address.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"
31    
32  ///  ///
33  namespace GEDCOMParser  namespace GEDCOMParser
# Line 43  namespace GEDCOMParser Line 44  namespace GEDCOMParser
44      SmartPtr<Address> _addr;      SmartPtr<Address> _addr;
45      SmartPtr<Data> _data;      SmartPtr<Data> _data;
46      std::string _dest;      std::string _dest;
47      std::string _date;      GEDCOMParser::DateManagement::DateValue * _date;
48      std::string _time;      std::string _time;
49      std::string _subm;      std::string _subm;
50      std::string _subn;      std::string _subn;
# Line 65  namespace GEDCOMParser Line 66  namespace GEDCOMParser
66          _addr (),          _addr (),
67          _data (),          _data (),
68          _dest (),          _dest (),
69          _date (),          _date (0),
70          _time (),          _time (),
71          _subm (),          _subm (),
72          _subn (),          _subn (),
# Line 88  namespace GEDCOMParser Line 89  namespace GEDCOMParser
89        _addr (h._addr),        _addr (h._addr),
90        _data (h._data),        _data (h._data),
91        _dest (h._dest),        _dest (h._dest),
92        _date (h._date),        _date (0),
93        _time (h._time),        _time (h._time),
94        _subm (h._subm),        _subm (h._subm),
95        _subn (h._subn),        _subn (h._subn),
# Line 102  namespace GEDCOMParser Line 103  namespace GEDCOMParser
103        _place_form (h._place_form),        _place_form (h._place_form),
104        _note (h._note)        _note (h._note)
105      {      {
106          if (h._date != 0)
107            {
108              _date = new GEDCOMParser::DateManagement::DateValue(*h._date);
109            }
110          return;
111      };      };
112      virtual ~Header (void)      virtual ~Header (void)
113      {      {
114          delete _date; _date = 0;
115      };      };
116     ///@name Accessors (set)     ///@name Accessors (set)
117      //@{          //@{    
# Line 168  namespace GEDCOMParser Line 175  namespace GEDCOMParser
175      ///      ///
176      virtual std::string const &getDest(void) const;      virtual std::string const &getDest(void) const;
177      ///      ///
178      virtual std::string const &getDate(void) const;      virtual std::string const getDate(void) const;
179      ///      ///
180      virtual std::string const &getTime(void) const;      virtual std::string const &getTime(void) const;
181      ///      ///

Legend:
Removed from v.1.1.2.1  
changed lines
  Added in v.1.1.2.2

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