SEMHeader.hpp
Go to the documentation of this file.
1 //==============================================================================
2 //
3 // This file is part of GNSSTk, the ARL:UT GNSS Toolkit.
4 //
5 // The GNSSTk is free software; you can redistribute it and/or modify
6 // it under the terms of the GNU Lesser General Public License as published
7 // by the Free Software Foundation; either version 3.0 of the License, or
8 // any later version.
9 //
10 // The GNSSTk is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU Lesser General Public License for more details.
14 //
15 // You should have received a copy of the GNU Lesser General Public
16 // License along with GNSSTk; if not, write to the Free Software Foundation,
17 // Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
18 //
19 // This software was developed by Applied Research Laboratories at the
20 // University of Texas at Austin.
21 // Copyright 2004-2022, The Board of Regents of The University of Texas System
22 //
23 //==============================================================================
24 
25 //==============================================================================
26 //
27 // This software was developed by Applied Research Laboratories at the
28 // University of Texas at Austin, under contract to an agency or agencies
29 // within the U.S. Department of Defense. The U.S. Government retains all
30 // rights to use, duplicate, distribute, disclose, or release this software.
31 //
32 // Pursuant to DoD Directive 523024
33 //
34 // DISTRIBUTION STATEMENT A: This software has been approved for public
35 // release, distribution is unlimited.
36 //
37 //==============================================================================
38 
44 #ifndef SEMHEADER_HPP
45 #define SEMHEADER_HPP
46 
47 #include <vector>
48 #include <list>
49 #include <map>
50 
51 #include "FFStream.hpp"
52 #include "AlmOrbit.hpp"
53 #include "SEMBase.hpp"
54 #include "StringUtils.hpp"
55 #include "gnsstk_export.h"
56 
57 namespace gnsstk
58 {
60 
61 
72  class SEMHeader : public SEMBase
73  {
74  public:
76  SEMHeader() {}
77 
79  virtual ~SEMHeader() {}
80 
85  GNSSTK_EXPORT static short nearFullWeek;
86 
87  short numRecords;
88  std::string Title;
89  short week;
90  long Toa;
91 
92 
98  virtual void dump(std::ostream& s) const;
99 
101  virtual bool isHeader() const {return true;}
102 
103 
104 
105  protected:
112  virtual void reallyPutRecord(FFStream& s) const;
113 
125  virtual void reallyGetRecord(FFStream& s);
126 
127  }; // class SEMHeader
128 
130 
131 } // namespace
132 
133 #endif
gnsstk::SEMBase
Definition: SEMBase.hpp:58
gnsstk::FFStream
Definition: FFStream.hpp:119
gnsstk::SEMHeader::~SEMHeader
virtual ~SEMHeader()
Destructor.
Definition: SEMHeader.hpp:79
StringUtils.hpp
gnsstk::SEMHeader::Title
std::string Title
Definition: SEMHeader.hpp:88
gnsstk
For Sinex::InputHistory.
Definition: BasicFramework.cpp:50
gnsstk::SEMHeader
Definition: SEMHeader.hpp:72
gnsstk::SEMHeader::numRecords
short numRecords
Definition: SEMHeader.hpp:87
gnsstk::SEMHeader::dump
virtual void dump(std::ostream &s) const
Definition: SEMHeader.cpp:131
SEMBase.hpp
gnsstk::SEMHeader::nearFullWeek
static GNSSTK_EXPORT short nearFullWeek
Definition: SEMHeader.hpp:85
gnsstk::SEMHeader::week
short week
Definition: SEMHeader.hpp:89
AlmOrbit.hpp
gnsstk::SEMHeader::SEMHeader
SEMHeader()
Constructor.
Definition: SEMHeader.hpp:76
FFStream.hpp
gnsstk::SEMHeader::reallyPutRecord
virtual void reallyPutRecord(FFStream &s) const
Definition: SEMHeader.cpp:58
gnsstk::SEMHeader::reallyGetRecord
virtual void reallyGetRecord(FFStream &s)
Definition: SEMHeader.cpp:79
gnsstk::SEMHeader::Toa
long Toa
Definition: SEMHeader.hpp:90
gnsstk::SEMHeader::isHeader
virtual bool isHeader() const
This class is a "header" so this function always returns "true".
Definition: SEMHeader.hpp:101


gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:41