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

Diff of /ghosts/gedcomparser/src/GEDCOMParser/LdsSpouseSealing.cpp

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 29  void GEDCOMParser::LdsSpouseSealing::set Line 29  void GEDCOMParser::LdsSpouseSealing::set
29    
30  void GEDCOMParser::LdsSpouseSealing::setDate(std::string const & value)  void GEDCOMParser::LdsSpouseSealing::setDate(std::string const & value)
31  {  {
32    _date = value;    if (_date != 0)
33        {
34          delete _date; _date = 0;
35        }
36      _date = new GEDCOMParser::DateManagement::DateValue(value);
37    return;    return;
38  }  }
39    
# Line 74  std::string const &GEDCOMParser::LdsSpou Line 78  std::string const &GEDCOMParser::LdsSpou
78    return _status;    return _status;
79  }  }
80    
81  std::string const &GEDCOMParser::LdsSpouseSealing::getDate(void) const  std::string const GEDCOMParser::LdsSpouseSealing::getDate(void) const
82  {  {
83    return _date;    std::string res;
84      if (_date != 0)
85        {
86          res = _date->getDisplayValue();
87        }
88      return res;
89  }  }
90    
91  std::string const &GEDCOMParser::LdsSpouseSealing::getTempleCode(void) const  std::string const &GEDCOMParser::LdsSpouseSealing::getTempleCode(void) const

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