Go to the documentation of this file.
45 #ifndef GNSSTK_FFSTREAM_HPP
46 #define GNSSTK_FFSTREAM_HPP
133 FFStream(
const char*
fn, std::ios::openmode mode=std::ios::in );
140 FFStream(
const std::string&
fn, std::ios::openmode mode=std::ios::in );
146 virtual void open(
const char*
fn, std::ios::openmode mode );
152 virtual void open(
const std::string&
fn, std::ios::openmode mode );
155 void dumpState(std::ostream& s = std::cout)
const;
205 void init(
const char*
fn, std::ios::openmode mode);
215 if (exceptions() & std::fstream::failbit)
222 #endif // GNSSTK_FFSTREAM_HPP
std::string filename
file name
virtual void tryFFStreamPut(const FFData &rec)
void init(const char *fn, std::ios::openmode mode)
Initialize internal data structures according to file name & mode.
unsigned int recordNumber
keeps track of the number of records read
virtual void open(const char *fn, std::ios::openmode mode)
FFStreamError mostRecentException
This stores the most recently thrown exception.
static bool isFFStream(std::istream &i)
Check if the input stream is the kind of RinexObsStream.
FFStream()
Default constructor, initialize internal data.
virtual void tryFFStreamGet(FFData &rec)
#define GNSSTK_THROW(exc)
void dumpState(std::ostream &s=std::cout) const
A function to help debug FFStreams.
virtual ~FFStream()
Virtual destructor, close the stream etc.
void conditionalThrow(void)
gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:39