RinexObsStream Class Reference
[RINEX observation files]

#include <RinexObsStream.hpp>

Inheritance diagram for RinexObsStream:

Inheritance graph
[legend]
Collaboration diagram for RinexObsStream:

Collaboration graph
[legend]
List of all members.

Detailed Description

This class reads RINEX files.

See also:
gpstk::RinexObsData and gpstk::RinexObsHeader.

rinex_obs_test.cpp and rinex_obs_read_write.cpp for examples.

Definition at line 69 of file RinexObsStream.hpp.

Public Member Functions

 RinexObsStream ()
 Default constructor.
 RinexObsStream (const char *fn, std::ios::openmode mode=std::ios::in)
 Common constructor.
 RinexObsStream (const std::string fn, std::ios::openmode mode=std::ios::in)
 Common constructor.
virtual ~RinexObsStream ()
 Destructor.
virtual void open (const char *fn, std::ios::openmode mode)
 Overrides open to reset the header.
virtual void open (const std::string &fn, std::ios::openmode mode)
 Overrides open to reset the header.

Public Attributes

bool headerRead
 Whether or not the RinexObsHeader has been read.
RinexObsHeader header
 The header for this file.


Constructor & Destructor Documentation

RinexObsStream  )  [inline]
 

Default constructor.

Definition at line 75 of file RinexObsStream.hpp.

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

Common constructor.

Parameters:
fn the RINEX file to open
mode how to open fn.

Definition at line 84 of file RinexObsStream.hpp.

RinexObsStream const std::string  fn,
std::ios::openmode  mode = std::ios::in
[inline]
 

Common constructor.

Parameters:
fn the RINEX file to open
mode how to open fn.

Definition at line 94 of file RinexObsStream.hpp.

virtual ~RinexObsStream  )  [inline, virtual]
 

Destructor.

Definition at line 100 of file RinexObsStream.hpp.


Member Function Documentation

virtual void open const std::string &  fn,
std::ios::openmode  mode
[inline, virtual]
 

Overrides open to reset the header.

Parameters:
fn the RINEX file to open
mode how to open fn.

Reimplemented from FFTextStream.

Definition at line 122 of file RinexObsStream.hpp.

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

Overrides open to reset the header.

Parameters:
fn the RINEX file to open
mode how to open fn.

Reimplemented from FFTextStream.

Definition at line 108 of file RinexObsStream.hpp.

Referenced by NetworkObsStreams::addRinexObsFile(), gpstk::isRinexObsFile(), and NetworkObsStreams::sourceIDOfRinexObsFile().


Member Data Documentation

RinexObsHeader header
 

The header for this file.

Definition at line 132 of file RinexObsStream.hpp.

Referenced by RinexObsHeader::reallyGetRecord(), RinexObsData::reallyGetRecord(), RinexObsHeader::reallyPutRecord(), RinexObsData::reallyPutRecord(), and NetworkObsStreams::sourceIDOfRinexObsFile().

bool headerRead
 

Whether or not the RinexObsHeader has been read.

Definition at line 128 of file RinexObsStream.hpp.

Referenced by RinexObsHeader::reallyGetRecord(), and RinexObsData::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