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

Detailed Description

This class performs file i/o on a RINEX clock file for the RinexClockHeader and RinexClockData classes.

See also
gnsstk::RinexClockData and gnsstk::RinexClockHeader.

Definition at line 62 of file RinexClockStream.hpp.

#include <RinexClockStream.hpp>

Inheritance diagram for gnsstk::RinexClockStream:
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)
 
 RinexClockStream ()
 Default constructor. More...
 
 RinexClockStream (const char *fn, std::ios::openmode mode=std::ios::in)
 
 RinexClockStream (const std::string &fn, std::ios::openmode mode=std::ios::in)
 
virtual ~RinexClockStream ()
 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...
 

Public Attributes

RinexClockHeader header
 The header for this file. More...
 
bool headerRead
 Whether or not the RinexClockHeader 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 ()
 Initialize internal data structures. 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

◆ RinexClockStream() [1/3]

gnsstk::RinexClockStream::RinexClockStream ( )

Default constructor.

Definition at line 49 of file RinexClockStream.cpp.

◆ RinexClockStream() [2/3]

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

Common constructor.

Parameters
fnthe RINEX clock data file to open
modehow to open fn.

Definition at line 56 of file RinexClockStream.cpp.

◆ RinexClockStream() [3/3]

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

Common constructor.

Parameters
fnthe RINEX clock data file to open
modehow to open fn.

Definition at line 65 of file RinexClockStream.cpp.

◆ ~RinexClockStream()

gnsstk::RinexClockStream::~RinexClockStream ( )
virtual

Destructor.

Definition at line 74 of file RinexClockStream.cpp.

Member Function Documentation

◆ init()

void gnsstk::RinexClockStream::init ( )
private

Initialize internal data structures.

Definition at line 96 of file RinexClockStream.cpp.

◆ open() [1/2]

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

Overrides open to reset the header

Parameters
fnthe RINEX clock data file to open
modehow to open fn.

Reimplemented from gnsstk::FFTextStream.

Definition at line 80 of file RinexClockStream.cpp.

◆ open() [2/2]

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

Overrides open to reset the header

Parameters
fnthe RINEX clock data file to open
modehow to open fn.

Reimplemented from gnsstk::FFTextStream.

Definition at line 89 of file RinexClockStream.cpp.

Member Data Documentation

◆ header

RinexClockHeader gnsstk::RinexClockStream::header

The header for this file.

Definition at line 107 of file RinexClockStream.hpp.

◆ headerRead

bool gnsstk::RinexClockStream::headerRead

Whether or not the RinexClockHeader has been read.

Definition at line 104 of file RinexClockStream.hpp.


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


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