OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
ossim-plugins
cnes
src
otb
GMSTDateTime.cpp
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
#include <
otb/GMSTDateTime.h
>
13
#include <
otb/CivilDateTime.h
>
14
15
namespace
ossimplugins
16
{
17
18
19
GMSTDateTime::GMSTDateTime
():
20
_tms(0)
21
{
22
}
23
24
GMSTDateTime::~GMSTDateTime
()
25
{
26
}
27
28
GMSTDateTime::GMSTDateTime
(
const
GMSTDateTime
& rhs):
29
_tms(rhs._tms),
30
_origine(rhs._origine)
31
{
32
}
33
34
GMSTDateTime::GMSTDateTime
(
double
tms,
Ori_TSM_Green
origine):
35
_tms(tms),
36
_origine(origine)
37
{
38
}
39
40
GMSTDateTime::GMSTDateTime
(
CivilDateTime
& rhs)
41
{
42
rhs.
AsGMSTDateTime
(
this
);
43
}
44
45
GMSTDateTime
&
GMSTDateTime::operator=
(
const
GMSTDateTime
& rhs)
46
{
47
_tms
= rhs.
_tms
;
48
_origine
= rhs.
_origine
;
49
return
*
this
;
50
}
51
}
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
CivilDateTime.h
ossimplugins::GMSTDateTime::_tms
double _tms
Definition:
GMSTDateTime.h:84
ossimplugins::CivilDateTime::AsGMSTDateTime
int AsGMSTDateTime(GMSTDateTime *GMSTdate)
This function converts the current CivilDateTime into GMSTDateTime.
Definition:
CivilDateTime.cpp:389
ossimplugins::GMSTDateTime::operator=
GMSTDateTime & operator=(const GMSTDateTime &rhs)
Affectation operator.
Definition:
GMSTDateTime.cpp:45
ossimplugins
Definition:
AlosPalsarData.cpp:26
ossimplugins::GMSTDateTime::GMSTDateTime
GMSTDateTime()
constructor
Definition:
GMSTDateTime.cpp:19
GMSTDateTime.h
ossimplugins::GMSTDateTime::~GMSTDateTime
~GMSTDateTime()
Destructor.
Definition:
GMSTDateTime.cpp:24
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