/[ghosts]/ghosts/gedcomparser/src/GEDCOMParser/DateManagement/Period.hh
ViewVC logotype

Diff of /ghosts/gedcomparser/src/GEDCOMParser/DateManagement/Period.hh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.2.1 by cpcp, Wed Oct 23 19:21:41 2002 UTC revision 1.1.2.2 by cpcp, Sun Oct 27 09:45:01 2002 UTC
# Line 1  Line 1 
1  /**  /*
2      Copyright 2002 Cyril Picard      Copyright 2002 Cyril Picard
3    
4      This file is part of the GEDCOMParser library      This file is part of the GEDCOMParser library
# Line 18  Line 18 
18      along with the GEDCOMParser library ; if not, write to the Free Software      along with the GEDCOMParser library ; if not, write to the Free Software
19      Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA      Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
20    
21  **/  */
22    
23  #ifndef _GEDCOMPARSER_DATEMANAGEMENT_PERIOD_HH_  #ifndef _GEDCOMPARSER_DATEMANAGEMENT_PERIOD_HH_
24  #define _GEDCOMPARSER_DATEMANAGEMENT_PERIOD_HH_  #define _GEDCOMPARSER_DATEMANAGEMENT_PERIOD_HH_
25    
26  #include "GEDCOMParser/DateManagement/Date.hh"  #include "GEDCOMParser/DateManagement/Date.hh"
27    ///
28  namespace GEDCOMParser  namespace GEDCOMParser
29  {  {
30      ///
31    namespace DateManagement    namespace DateManagement
32    {    {
     class Period  
33      /** @memo Implements the GEDCOM 5.5 DATE_PERIOD primitive element      /** @memo Implements the GEDCOM 5.5 DATE_PERIOD primitive element
34       */       **/
35        class Period
36      {      {
37      public:      public:
38        Period(void) :        Period(void) :
# Line 57  namespace GEDCOMParser Line 58  namespace GEDCOMParser
58          delete _date_to;          delete _date_to;
59          return;          return;
60        };        };
61          ///@name Accessors (set)
62          //@{
63          ///
64        void setDateFrom(GEDCOMParser::DateManagement::Date const &from);        void setDateFrom(GEDCOMParser::DateManagement::Date const &from);
65          ///
66        void setDateTo(GEDCOMParser::DateManagement::Date const &to);        void setDateTo(GEDCOMParser::DateManagement::Date const &to);
67          //@}
68          
69          ///@name Accessors (get)
70          //@{
71          ///
72        std::string const getDisplayValue(void) const;        std::string const getDisplayValue(void) const;
73           //@}
74      private:      private:
75        GEDCOMParser::DateManagement::Date * _date_from;        GEDCOMParser::DateManagement::Date * _date_from;
76        GEDCOMParser::DateManagement::Date * _date_to;        GEDCOMParser::DateManagement::Date * _date_to;

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