This is a stream used to decode data in the Ashtech format.
Definition at line 54 of file AshtechStream.hpp.
#include <AshtechStream.hpp>
Public Member Functions | |
AshtechStream () | |
AshtechStream (const char *fn, std::ios::openmode mode=std::ios::in) | |
std::streampos | getRawPos () |
virtual bool | isStreamLittleEndian () const noexcept |
Ashtech data is always big endian. More... | |
virtual void | open (const char *fn, std::ios::openmode mode=std::ios::in) |
overrides open to reset the header More... | |
virtual | ~AshtechStream () |
destructor per the coding standards More... | |
![]() | |
FFBinaryStream () | |
Default constructor. More... | |
FFBinaryStream (const char *fn, std::ios::openmode mode=std::ios::in|std::ios::binary) | |
void | getData (char *buff, size_t length) |
void | getData (double &v) |
void | getData (float &v) |
void | getData (int16_t &v) |
void | getData (int32_t &v) |
void | getData (int64_t &v) |
void | getData (int8_t &v) |
void | getData (uint16_t &v) |
void | getData (uint32_t &v) |
void | getData (uint64_t &v) |
void | getData (uint8_t &v) |
void | writeData (const char *buff, size_t length) |
void | writeData (double v) |
void | writeData (float v) |
void | writeData (int16_t v) |
void | writeData (int32_t v) |
void | writeData (int64_t v) |
void | writeData (int8_t v) |
void | writeData (uint16_t v) |
void | writeData (uint32_t v) |
void | writeData (uint64_t v) |
void | writeData (uint8_t v) |
virtual | ~FFBinaryStream () |
destructor More... | |
![]() | |
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 void | open (const std::string &fn, std::ios::openmode mode) |
virtual | ~FFStream () |
Virtual destructor, close the stream etc. More... | |
Public Attributes | |
bool | header |
std::string | rawData |
The raw bytes read from the file. More... | |
![]() | |
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 bool | isFFStream (std::istream &i) |
Check if the input stream is the kind of RinexObsStream. More... | |
![]() | |
virtual void | tryFFStreamGet (FFData &rec) |
virtual void | tryFFStreamPut (const FFData &rec) |
|
inline |
Definition at line 57 of file AshtechStream.hpp.
|
inline |
fn | the name of the Ashtech file to be opened |
mode | the ios::openmode to be used on fn |
Definition at line 63 of file AshtechStream.hpp.
|
inlinevirtual |
destructor per the coding standards
Definition at line 68 of file AshtechStream.hpp.
|
inline |
Definition at line 85 of file AshtechStream.hpp.
|
inlinevirtualnoexcept |
Ashtech data is always big endian.
Implements gnsstk::FFBinaryStream.
Definition at line 95 of file AshtechStream.hpp.
|
inlinevirtual |
overrides open to reset the header
Reimplemented from gnsstk::FFBinaryStream.
Definition at line 72 of file AshtechStream.hpp.
bool gnsstk::AshtechStream::header |
Definition at line 82 of file AshtechStream.hpp.
std::string gnsstk::AshtechStream::rawData |
The raw bytes read from the file.
Definition at line 78 of file AshtechStream.hpp.