General Purpose Geodetic Library
SgEccSite.h
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 #ifndef SG_ECC_SITE_H
24 #define SG_ECC_SITE_H
25 
26 
27 #ifdef HAVE_CONFIG_H
28 # include <config.h>
29 #endif
30 
31 
32 #include <QtCore/QList>
33 #include <QtCore/QString>
34 
35 #include <SgMJD.h>
36 
37 
38 /***===================================================================================================*/
44 class SgEccRec;
45 class SgEccSite
46 {
47 public:
48  //
49  // constructors/destructors:
50  //
54  inline SgEccSite(const QString& siteName);
55 
59  ~SgEccSite();
60 
61  //
62  // Interfaces:
63  //
64 
65  //
66  // Functions:
67  //
70  static const QString className();
71 
72  bool insertRecord(SgEccRec*);
73 
74  void checkRecords();
75 
76  SgEccRec* findRecord(const SgMJD&);
77 
78  //
79  // Friends:
80  //
81 
82  //
83  // I/O:
84  //
85  // ...
86 
87 private:
89  QString siteName_;
92 };
93 /*=====================================================================================================*/
94 
95 
96 
97 
98 
99 /*=====================================================================================================*/
100 /* */
101 /* SgEccDat inline members: */
102 /* */
103 /*=====================================================================================================*/
104 //
105 //
106 // CONSTRUCTORS:
107 //
108 // An empty constructor:
109 inline SgEccSite::SgEccSite(const QString& siteName) :
110  siteName_(siteName)
111 {
112  tBegin_ = tZero;
113  tEnd_ = tZero;
114 };
115 
116 
117 
118 
119 
120 //
121 // INTERFACES:
122 //
123 //
124 
125 
126 
127 
128 //
129 // FUNCTIONS:
130 //
131 //
132 //
133 
134 // FRIENDS:
135 //
136 //
137 //
138 /*=====================================================================================================*/
139 
140 
141 
142 
143 
144 
145 
146 
147 /*=====================================================================================================*/
148 //
149 // aux functions:
150 //
151 
152 
153 /*=====================================================================================================*/
154 #endif //SG_ECC_SITE_H
const SgMJD tZero(1957, 10, 4)
SgEccRec * findRecord(const SgMJD &)
Definition: SgEccSite.cpp:140
static const QString className()
Definition: SgEccSite.cpp:45
SgMJD tEnd_
Definition: SgEccSite.h:91
QString siteName_
Definition: SgEccSite.h:89
SgMJD tBegin_
Definition: SgEccSite.h:90
void checkRecords()
Definition: SgEccSite.cpp:121
bool insertRecord(SgEccRec *)
Definition: SgEccSite.cpp:63
SgEccSite(const QString &siteName)
Definition: SgEccSite.h:109
QList< SgEccRec * > records_
Definition: SgEccSite.h:88
Definition: SgMJD.h:59