OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
ossim-plugins
cnes
src
otb
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
15
#include <
ossim/plugin/ossimPluginConstants.h
>
16
#include <
otb/JulianDate.h
>
17
18
namespace
ossimplugins
19
{
20
21
22
class
CivilDateTime;
23
class
JulianDate;
24
29
class
OSSIM_PLUGINS_DLL
GMSTDateTime
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
56
GMSTDateTime
(
CivilDateTime
& rhs);
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
73
Ori_TSM_Green
get_origine
()
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
;
85
Ori_TSM_Green
_origine
;
86
87
private
:
88
};
89
}
90
91
#endif
ossimplugins::GMSTDateTime::set_tms
void set_tms(double tms)
Definition:
GMSTDateTime.h:68
ossimplugins::GMSTDateTime
This class represents a date.
Definition:
GMSTDateTime.h:29
ossimplugins::CivilDateTime
This class represents a date and time in the civil format.
Definition:
CivilDateTime.h:30
ossimplugins::GMSTDateTime::Ori_TSM_Green
Ori_TSM_Green
Definition:
GMSTDateTime.h:33
JulianDate.h
ossimplugins::GMSTDateTime::_tms
double _tms
Definition:
GMSTDateTime.h:84
ossimplugins
Definition:
AlosPalsarData.cpp:26
OSSIM_PLUGINS_DLL
#define OSSIM_PLUGINS_DLL
Definition:
ossimPluginConstants.h:39
ossimplugins::GMSTDateTime::set_origine
void set_origine(Ori_TSM_Green origine)
Definition:
GMSTDateTime.h:78
ossimPluginConstants.h
ossimplugins::GMSTDateTime::get_origine
Ori_TSM_Green get_origine()
Definition:
GMSTDateTime.h:73
ossimplugins::GMSTDateTime::get_tms
double get_tms()
Definition:
GMSTDateTime.h:63
ossimplugins::GMSTDateTime::_origine
Ori_TSM_Green _origine
Definition:
GMSTDateTime.h:85
Generated on Fri Aug 3 2018 08:46:44 for OSSIM - Open Source Software Image Map by
1.8.14