Public Member Functions | Static Public Member Functions | Public Attributes | Private Member Functions | List of all members
gnsstk::Rinex3ObsStream Class Reference

Detailed Description

This class reads RINEX 3 Obs files.

See also
Rinex3ObsData and Rinex3ObsHeader.

Definition at line 65 of file Rinex3ObsStream.hpp.

#include <Rinex3ObsStream.hpp>

Inheritance diagram for gnsstk::Rinex3ObsStream:
Inheritance graph
[legend]

Public Member Functions

virtual void open (const char *fn, std::ios::openmode mode)
 
virtual void open (const std::string &fn, std::ios::openmode mode)
 
 Rinex3ObsStream ()
 Default constructor. More...
 
 Rinex3ObsStream (const char *fn, std::ios::openmode mode=std::ios::in)
 
 Rinex3ObsStream (const std::string fn, std::ios::openmode mode=std::ios::in)
 
virtual ~Rinex3ObsStream ()
 Destructor. More...
 
- Public Member Functions inherited from gnsstk::FFTextStream
 FFTextStream ()
 Default constructor. More...
 
 FFTextStream (const char *fn, std::ios::openmode mode=std::ios::in)
 
 FFTextStream (const std::string &fn, std::ios::openmode mode=std::ios::in)
 
void formattedGetLine (std::string &line, const bool expectEOF=false)
 
virtual ~FFTextStream ()
 Destructor. More...
 
- Public Member Functions inherited from gnsstk::FFStream
void conditionalThrow (void)
 
void dumpState (std::ostream &s=std::cout) const
 A function to help debug FFStreams. More...
 
 FFStream ()
 Default constructor, initialize internal data. More...
 
 FFStream (const char *fn, std::ios::openmode mode=std::ios::in)
 
 FFStream (const std::string &fn, std::ios::openmode mode=std::ios::in)
 
virtual ~FFStream ()
 Virtual destructor, close the stream etc. More...
 

Static Public Member Functions

static bool isRinex3ObsStream (std::istream &i)
 Check if the input stream is the kind of Rinex3ObsStream. More...
 
- Static Public Member Functions inherited from gnsstk::FFStream
static bool isFFStream (std::istream &i)
 Check if the input stream is the kind of RinexObsStream. More...
 

Public Attributes

Rinex3ObsHeader header
 The header for this file. More...
 
bool headerRead
 Whether or not the Rinex3ObsHeader has been read. More...
 
TimeSystem timesystem
 Time system for epochs in this file. More...
 
- Public Attributes inherited from gnsstk::FFTextStream
unsigned int lineNumber
 
- Public Attributes inherited from gnsstk::FFStream
std::string filename
 file name More...
 
FFStreamError mostRecentException
 This stores the most recently thrown exception. More...
 
unsigned int recordNumber
 keeps track of the number of records read More...
 

Private Member Functions

void init ()
 Initialize internal data structures. More...
 

Additional Inherited Members

- Protected Member Functions inherited from gnsstk::FFTextStream
virtual void tryFFStreamGet (FFData &rec)
 
virtual void tryFFStreamPut (const FFData &rec)
 

Constructor & Destructor Documentation

◆ Rinex3ObsStream() [1/3]

gnsstk::Rinex3ObsStream::Rinex3ObsStream ( )

Default constructor.

Definition at line 49 of file Rinex3ObsStream.cpp.

◆ Rinex3ObsStream() [2/3]

gnsstk::Rinex3ObsStream::Rinex3ObsStream ( const char *  fn,
std::ios::openmode  mode = std::ios::in 
)

Common constructor.

Parameters
[in]fnthe RINEX file to open
[in]modehow to open fn.

Definition at line 56 of file Rinex3ObsStream.cpp.

◆ Rinex3ObsStream() [3/3]

gnsstk::Rinex3ObsStream::Rinex3ObsStream ( const std::string  fn,
std::ios::openmode  mode = std::ios::in 
)

Common constructor.

Parameters
[in]fnthe RINEX file to open
[in]modehow to open fn.

Definition at line 65 of file Rinex3ObsStream.cpp.

◆ ~Rinex3ObsStream()

gnsstk::Rinex3ObsStream::~Rinex3ObsStream ( )
virtual

Destructor.

Definition at line 74 of file Rinex3ObsStream.cpp.

Member Function Documentation

◆ init()

void gnsstk::Rinex3ObsStream::init ( )
private

Initialize internal data structures.

Definition at line 89 of file Rinex3ObsStream.cpp.

◆ isRinex3ObsStream()

bool gnsstk::Rinex3ObsStream::isRinex3ObsStream ( std::istream &  i)
static

Check if the input stream is the kind of Rinex3ObsStream.

Definition at line 106 of file Rinex3ObsStream.cpp.

◆ open() [1/2]

void gnsstk::Rinex3ObsStream::open ( const char *  fn,
std::ios::openmode  mode 
)
virtual

Overrides open to reset the header

Parameters
fnthe RINEX file to open
modehow to open fn.

Reimplemented from gnsstk::FFTextStream.

Definition at line 80 of file Rinex3ObsStream.cpp.

◆ open() [2/2]

void gnsstk::Rinex3ObsStream::open ( const std::string &  fn,
std::ios::openmode  mode 
)
virtual

Overrides open to reset the header

Parameters
fnthe RINEX 3 file to open
modehow to open fn.

Reimplemented from gnsstk::FFTextStream.

Definition at line 98 of file Rinex3ObsStream.cpp.

Member Data Documentation

◆ header

Rinex3ObsHeader gnsstk::Rinex3ObsStream::header

The header for this file.

Definition at line 110 of file Rinex3ObsStream.hpp.

◆ headerRead

bool gnsstk::Rinex3ObsStream::headerRead

Whether or not the Rinex3ObsHeader has been read.

Definition at line 107 of file Rinex3ObsStream.hpp.

◆ timesystem

TimeSystem gnsstk::Rinex3ObsStream::timesystem

Time system for epochs in this file.

Definition at line 113 of file Rinex3ObsStream.hpp.


The documentation for this class was generated from the following files:


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