RinexMetStream Class Reference
[RINEX meteorological files]

#include <RinexMetStream.hpp>

Inheritance diagram for RinexMetStream:

Inheritance graph
[legend]
Collaboration diagram for RinexMetStream:

Collaboration graph
[legend]
List of all members.

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 77 of file RinexMetStream.hpp.

Public Member Functions

 RinexMetStream ()
 default constructor
 RinexMetStream (const char *fn, std::ios::openmode mode=std::ios::in)
 Constructor Opens a file named fn using ios::openmode mode.
virtual ~RinexMetStream ()
 Destructor.
virtual void open (const char *fn, std::ios::openmode mode)
 overrides open to reset the header

Public Attributes

RinexMetHeader header
 RINEX met header for this file.
bool headerRead
 Flag showing whether or not the header has been read.


Constructor & Destructor Documentation

RinexMetStream  )  [inline]
 

default constructor

Definition at line 81 of file RinexMetStream.hpp.

RinexMetStream const char *  fn,
std::ios::openmode  mode = std::ios::in
[inline]
 

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

Definition at line 88 of file RinexMetStream.hpp.

virtual ~RinexMetStream  )  [inline, virtual]
 

Destructor.

Definition at line 92 of file RinexMetStream.hpp.


Member Function Documentation

virtual void open const char *  fn,
std::ios::openmode  mode
[inline, virtual]
 

overrides open to reset the header

Reimplemented from FFTextStream.

Definition at line 95 of file RinexMetStream.hpp.

Referenced by MetReader::read().


Member Data Documentation

RinexMetHeader header
 

RINEX met header for this file.

Definition at line 103 of file RinexMetStream.hpp.

Referenced by RinexMetHeader::reallyGetRecord(), RinexMetData::reallyGetRecord(), RinexMetHeader::reallyPutRecord(), and RinexMetData::reallyPutRecord().

bool headerRead
 

Flag showing whether or not the header has been read.

Definition at line 106 of file RinexMetStream.hpp.

Referenced by RinexMetHeader::reallyGetRecord(), and RinexMetData::reallyGetRecord().


The documentation for this class was generated from the following file:
Generated on Wed Feb 8 03:31:41 2012 for GPS ToolKit Software Library by  doxygen 1.3.9.1