General Purpose Geodetic Library
SgIoDriver.cpp
Go to the documentation of this file.
1
/*
2
*
3
* This file is a part of Space Geodetic Library. The library is used by
4
* nuSolve, a part of CALC/SOLVE system, and designed to make analysis of
5
* geodetic VLBI observations.
6
* Copyright (C) 2010-2020 Sergei Bolotin.
7
*
8
* This program is free software: you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License as published by
10
* the Free Software Foundation, either version 3 of the License, or
11
* (at your option) any later version.
12
*
13
* This program is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
* GNU General Public License for more details.
17
*
18
* You should have received a copy of the GNU General Public License
19
* along with this program. If not, see <http://www.gnu.org/licenses/>.
20
*
21
*/
22
23
24
#include <
SgConstants.h
>
25
#include <
SgIdentities.h
>
26
#include <
SgLogger.h
>
27
#include <
SgVersion.h
>
28
29
30
#include <
SgIoDriver.h
>
31
32
33
34
/*=======================================================================================================
35
*
36
* METHODS:
37
*
38
*======================================================================================================*/
39
const
QString
SgIoDriver::className
()
40
{
41
return
"SgIoDriver"
;
42
};
43
44
45
46
//
47
SgIoDriver::SgIoDriver
(
const
SgIdentities
* ids,
const
SgVersion
* dv)
48
: dateOfCreation_(
tZero
)
49
{
50
currentIdentities_
= ids;
51
currentDriverVersion_
= dv;
52
inputIdentities_
= NULL;
53
//inputDriverVersion_ = NULL;
54
};
55
56
57
58
//
59
SgIoDriver::~SgIoDriver
()
60
{
61
if
(
inputIdentities_
)
62
delete
inputIdentities_
;
63
// if (inputDriverVersion_)
64
// delete inputDriverVersion_;
65
};
66
/*=====================================================================================================*/
67
68
69
70
71
72
73
74
75
/*=====================================================================================================*/
76
//
77
// constants:
78
//
79
80
81
82
/*=====================================================================================================*/
83
84
/*=====================================================================================================*/
SgConstants.h
SgIdentities.h
SgIoDriver.h
SgLogger.h
tZero
const SgMJD tZero(1957, 10, 4)
SgVersion.h
SgIdentities
Definition:
SgIdentities.h:45
SgIoDriver::className
static const QString className()
Definition:
SgIoDriver.cpp:39
SgIoDriver::SgIoDriver
SgIoDriver(const SgIdentities *ids, const SgVersion *dv)
Definition:
SgIoDriver.cpp:47
SgIoDriver::currentIdentities_
const SgIdentities * currentIdentities_
Definition:
SgIoDriver.h:133
SgIoDriver::currentDriverVersion_
const SgVersion * currentDriverVersion_
Definition:
SgIoDriver.h:134
SgIoDriver::~SgIoDriver
virtual ~SgIoDriver()
Definition:
SgIoDriver.cpp:59
SgIoDriver::inputIdentities_
SgIdentities * inputIdentities_
Definition:
SgIoDriver.h:135
SgVersion
Definition:
SgVersion.h:53
src
SgLib
SgIoDriver.cpp
Generated by
1.9.1