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

Detailed Description

This class performs file i/o on a RINEX MET file for the RinexMetHeader and RinexMetData classes.

See also
rinex_met_read_write.cpp for an example.
rinex_met_test.cpp for an example.
RinexMetData.
RinexMetHeader for information on writing RINEX met files.
Warning
When writing RinexMetData, the internal RinexMetStream::headerData must have the correct observation types set for what you want to write out. If you don't set any, no data will be written. See RinexMetHeader for more information on this.

Definition at line 70 of file RinexMetStream.hpp.

#include <RinexMetStream.hpp>

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

Public Member Functions

virtual void open (const char *fn, std::ios::openmode mode)
 overrides open to reset the header More...
 
 RinexMetStream ()
 default constructor More...
 
 RinexMetStream (const char *fn, std::ios::openmode mode=std::ios::in)
 
virtual ~RinexMetStream ()
 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

RinexMetHeader header
 RINEX met header for this file. More...
 
bool headerRead
 Flag showing whether or not the header 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...
 

Private Member Functions

void init ()
 

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

◆ RinexMetStream() [1/2]

gnsstk::RinexMetStream::RinexMetStream ( )

default constructor

Definition at line 49 of file RinexMetStream.cpp.

◆ RinexMetStream() [2/2]

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

Constructor Opens a file named fn using ios::openmode mode.

Definition at line 56 of file RinexMetStream.cpp.

◆ ~RinexMetStream()

gnsstk::RinexMetStream::~RinexMetStream ( )
virtual

Destructor.

Definition at line 64 of file RinexMetStream.cpp.

Member Function Documentation

◆ init()

void gnsstk::RinexMetStream::init ( )
private

Definition at line 78 of file RinexMetStream.cpp.

◆ open()

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

overrides open to reset the header

Reimplemented from gnsstk::FFTextStream.

Definition at line 70 of file RinexMetStream.cpp.

Member Data Documentation

◆ header

RinexMetHeader gnsstk::RinexMetStream::header

RINEX met header for this file.

Definition at line 89 of file RinexMetStream.hpp.

◆ headerRead

bool gnsstk::RinexMetStream::headerRead

Flag showing whether or not the header has been read.

Definition at line 92 of file RinexMetStream.hpp.


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


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