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

Detailed Description

This class performs file i/o on a Yuma file for the YumaHeader and YumaData classes.

See also
tests/Yuma for examples.
YumaData.
YumaHeader for information on writing Yuma files.

Definition at line 65 of file YumaStream.hpp.

#include <YumaStream.hpp>

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

Public Member Functions

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

YumaHeader header
 YumaHeader 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

◆ YumaStream() [1/2]

gnsstk::YumaStream::YumaStream ( )
inline

Default constructor.

Definition at line 69 of file YumaStream.hpp.

◆ YumaStream() [2/2]

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

Constructor

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

Definition at line 76 of file YumaStream.hpp.

◆ ~YumaStream()

virtual gnsstk::YumaStream::~YumaStream ( )
inlinevirtual

destructor per the coding standards

Definition at line 81 of file YumaStream.hpp.

Member Function Documentation

◆ open()

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

overrides open to reset the header

Reimplemented from gnsstk::FFTextStream.

Definition at line 84 of file YumaStream.hpp.

Member Data Documentation

◆ header

YumaHeader gnsstk::YumaStream::header

YumaHeader for this file.

Definition at line 91 of file YumaStream.hpp.

◆ headerRead

bool gnsstk::YumaStream::headerRead

Flag showing whether or not the header has been read.

Definition at line 94 of file YumaStream.hpp.


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


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