OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
GMSTDateTime.h
Go to the documentation of this file.
1 //----------------------------------------------------------------------------
2 //
3 // "Copyright Centre National d'Etudes Spatiales"
4 //
5 // License: LGPL
6 //
7 // See LICENSE.txt file in the top level directory for more details.
8 //
9 //----------------------------------------------------------------------------
10 // $Id$
11 
12 #ifndef GMSTDateTime_h
13 #define GMSTDateTime_h
14 
16 #include <otb/JulianDate.h>
17 
18 namespace ossimplugins
19 {
20 
21 
22 class CivilDateTime;
23 class JulianDate;
24 
30 {
31 public:
32 
33  enum Ori_TSM_Green { AN1900 , AN1950 , AN2000 } ;
34 
38  GMSTDateTime();
42  ~GMSTDateTime();
46  GMSTDateTime(const GMSTDateTime& rhs);
47 
51  GMSTDateTime(double tsm, Ori_TSM_Green origine);
52 
57 
61  GMSTDateTime& operator=(const GMSTDateTime& rhs);
62 
63  double get_tms()
64  {
65  return _tms;
66  };
67 
68  void set_tms(double tms)
69  {
70  _tms = tms;
71  };
72 
74  {
75  return _origine;
76  };
77 
78  void set_origine(Ori_TSM_Green origine)
79  {
80  _origine = origine;
81  }
82 protected:
83 
84  double _tms;
86 
87 private:
88 };
89 }
90 
91 #endif
void set_tms(double tms)
Definition: GMSTDateTime.h:68
This class represents a date.
Definition: GMSTDateTime.h:29
This class represents a date and time in the civil format.
Definition: CivilDateTime.h:30
#define OSSIM_PLUGINS_DLL
void set_origine(Ori_TSM_Green origine)
Definition: GMSTDateTime.h:78
Ori_TSM_Green get_origine()
Definition: GMSTDateTime.h:73