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

Detailed Description

This class performs file i/o on a SEM file for the SEMHeader and SEMData classes.

See also
tests/SEM for examples.
SEMData.
SEMHeader for information on writing SEM files.
Warning
The SEM header information and data information don't correctly talk to each other at the time of completion of this file. The current fix is in SEMAlamanacStore.hpp.

Definition at line 68 of file SEMStream.hpp.

#include <SEMStream.hpp>

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

Public Member Functions

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

SEMHeader header
 SEMHeader 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...
 

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

◆ SEMStream() [1/2]

gnsstk::SEMStream::SEMStream ( )
inline

Default constructor.

Definition at line 73 of file SEMStream.hpp.

◆ SEMStream() [2/2]

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

Constructor

Parameters
fnthe name of the ascii SEM file to be opened
modethe ios::openmode to be used on fn

Definition at line 80 of file SEMStream.hpp.

◆ ~SEMStream()

virtual gnsstk::SEMStream::~SEMStream ( )
inlinevirtual

destructor per the coding standards

Definition at line 85 of file SEMStream.hpp.

Member Function Documentation

◆ open()

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

overrides open to reset the header

Reimplemented from gnsstk::FFTextStream.

Definition at line 88 of file SEMStream.hpp.

Member Data Documentation

◆ header

SEMHeader gnsstk::SEMStream::header

SEMHeader for this file.

Definition at line 96 of file SEMStream.hpp.

◆ headerRead

bool gnsstk::SEMStream::headerRead

Flag showing whether or not the header has been read.

Definition at line 99 of file SEMStream.hpp.


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


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