OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
ossim-plugins
cnes
src
otb
MJDDateTime.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/MJDDateTime.h
>
13
14
namespace
ossimplugins
15
{
16
17
18
MJDDateTime::MJDDateTime
():
19
_day(0),
20
_second(0),
21
_microsecond(0)
22
{
23
}
24
25
MJDDateTime::~MJDDateTime
()
26
{
27
}
28
29
MJDDateTime::MJDDateTime
(
const
MJDDateTime
& rhs):
30
_day(rhs._day),
31
_second(rhs._second),
32
_microsecond(rhs._microsecond)
33
{
34
}
35
36
MJDDateTime::MJDDateTime
(
long
day,
unsigned
long
second,
unsigned
long
microsecond):
37
_day(day),
38
_second(second),
39
_microsecond(microsecond)
40
{
41
}
42
43
MJDDateTime
&
MJDDateTime::operator=
(
const
MJDDateTime
& rhs)
44
{
45
_day
= rhs.
_day
;
46
_second
= rhs.
_second
;
47
_microsecond
= rhs.
_microsecond
;
48
49
return
*
this
;
50
}
51
}
ossimplugins::MJDDateTime::_day
long _day
Definition:
MJDDateTime.h:79
ossimplugins::MJDDateTime::operator=
MJDDateTime & operator=(const MJDDateTime &rhs)
Affectation operator.
Definition:
MJDDateTime.cpp:43
ossimplugins::MJDDateTime
This class represents an MJD date (Modified Julian date)
Definition:
MJDDateTime.h:25
ossimplugins
Definition:
AlosPalsarData.cpp:26
ossimplugins::MJDDateTime::_second
unsigned long _second
Definition:
MJDDateTime.h:83
ossimplugins::MJDDateTime::_microsecond
unsigned long _microsecond
Definition:
MJDDateTime.h:84
MJDDateTime.h
ossimplugins::MJDDateTime::~MJDDateTime
~MJDDateTime()
Destructor.
Definition:
MJDDateTime.cpp:25
ossimplugins::MJDDateTime::MJDDateTime
MJDDateTime()
constructor
Definition:
MJDDateTime.cpp:18
Generated on Fri Aug 3 2018 08:46:44 for OSSIM - Open Source Software Image Map by
1.8.14