Public Member Functions | Public Attributes | List of all members
gnsstk::IonexStream Class Reference

Detailed Description

This class provides access to IONEX files.

See also
gnsstk::IonexHeader and gnsstk::IonexData for more information.
main_ionextest.cpp for an example.

Definition at line 61 of file IonexStream.hpp.

#include <IonexStream.hpp>

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

Public Member Functions

 IonexStream ()
 Default constructor. More...
 
 IonexStream (const char *fn, std::ios::openmode mode=std::ios::in)
 
virtual void open (const char *fn, std::ios::openmode mode)
 Overrides open to reset the header. More...
 
virtual ~IonexStream ()
 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 void open (const std::string &fn, std::ios::openmode mode)
 Overrides open to reset the line number. More...
 
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...
 

Public Attributes

IonexHeader header
 The header for this file. More...
 
bool headerRead
 Whether or not the IonexHeader has been read. 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...
 

Additional Inherited Members

- 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...
 
- Protected Member Functions inherited from gnsstk::FFTextStream
virtual void tryFFStreamGet (FFData &rec)
 
virtual void tryFFStreamPut (const FFData &rec)
 

Constructor & Destructor Documentation

◆ IonexStream() [1/2]

gnsstk::IonexStream::IonexStream ( )
inline

Default constructor.

Definition at line 65 of file IonexStream.hpp.

◆ IonexStream() [2/2]

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

Common constructor.

Parameters
fnIONEX file to open
modeMode to open fn.

Definition at line 74 of file IonexStream.hpp.

◆ ~IonexStream()

virtual gnsstk::IonexStream::~IonexStream ( )
inlinevirtual

Destructor.

Definition at line 79 of file IonexStream.hpp.

Member Function Documentation

◆ open()

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

Overrides open to reset the header.

Reimplemented from gnsstk::FFTextStream.

Definition at line 83 of file IonexStream.hpp.

Member Data Documentation

◆ header

IonexHeader gnsstk::IonexStream::header

The header for this file.

Definition at line 94 of file IonexStream.hpp.

◆ headerRead

bool gnsstk::IonexStream::headerRead

Whether or not the IonexHeader has been read.

Definition at line 91 of file IonexStream.hpp.


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


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