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

Diff of /ghosts/gedcomparser/src/GEDCOMParser/LdsSpouseSealing.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 38  namespace GEDCOMParser Line 38  namespace GEDCOMParser
38    
39  #include "GEDCOMParser/SourceCitation.hh"  #include "GEDCOMParser/SourceCitation.hh"
40  #include "GEDCOMParser/NoteStructure.hh"  #include "GEDCOMParser/NoteStructure.hh"
41    #include "GEDCOMParser/DateManagement/DateValue.hh"
42    
43  ///  ///
44  namespace GEDCOMParser  namespace GEDCOMParser
# Line 47  namespace GEDCOMParser Line 48  namespace GEDCOMParser
48    {    {
49    protected:    protected:
50      std::string _status;      std::string _status;
51      std::string _date;      GEDCOMParser::DateManagement::DateValue * _date;
52      std::string _temp;      std::string _temp;
53      std::string _plac;      std::string _plac;
54      SourceCitations_t _citations;      SourceCitations_t _citations;
55      NoteStructures_t _notes;      NoteStructures_t _notes;
56    public:    public:
57        LdsSpouseSealing(void) :
58          _status(),
59          _date(0),
60          _temp(),
61          _plac(),
62          _citations(),
63          _notes()
64        {
65          return;
66        }
67        LdsSpouseSealing(LdsSpouseSealing const &l) :
68          _status(l._status),
69          _date(0),
70          _temp(l._temp),
71          _plac(l._plac),
72          _citations(l._citations),
73          _notes(l._notes)
74        {
75          if (l._date != 0)
76            {
77              _date = new GEDCOMParser::DateManagement::DateValue(*l._date);
78            }
79          return;
80        }  
81      virtual ~LdsSpouseSealing(void)      virtual ~LdsSpouseSealing(void)
82      {      {
83          delete _date; _date = 0;
84          return;
85      };      };
86      ///@name Accessors (set)      ///@name Accessors (set)
87      //@{        //@{  
# Line 77  namespace GEDCOMParser Line 104  namespace GEDCOMParser
104      ///      ///
105      virtual std::string const &getStatus(void) const;      virtual std::string const &getStatus(void) const;
106      ///      ///
107      virtual std::string const &getDate(void) const;      virtual std::string const getDate(void) const;
108      ///      ///
109      virtual std::string const &getTempleCode(void) const;      virtual std::string const &getTempleCode(void) const;
110      ///      ///

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