Definition at line 64 of file AshtechData.hpp.
#include <AshtechData.hpp>
Public Member Functions | |
AshtechData () noexcept | |
virtual bool | checkId (std::string hdrId) const |
Returns true when the provided id is valid for this message. More... | |
virtual void | decode (const std::string &str) |
void | dump (std::ostream &out) const noexcept |
virtual std::string | encode () const noexcept |
virtual std::string | getName () const |
Simple accessors for various static thangs. More... | |
virtual bool | isData () const |
This class is "data" so this function always returns "true". More... | |
bool | isValid () const |
![]() | |
void | getRecord (FFStream &s) |
virtual bool | isHeader () const |
void | putRecord (FFStream &s) const |
virtual | ~FFData (void) |
virtual desctuctor More... | |
![]() | |
bool | crcerr () const |
bool | fmterr () const |
bool | lenerr () const |
bool | parerr () const |
![]() | |
void | clear (std::ios_base::iostate s=std::ios_base::goodbit) |
void | clearstate (std::ios_base::iostate s) |
DataStatus () | |
bool | good () const |
operator void * () const | |
bool | operator() () const |
std::ios_base::iostate | rdstate () const |
void | setstate (std::ios_base::iostate s) |
Public Attributes | |
bool | ascii |
uint16_t | checksum |
std::string | id |
Static Public Attributes | |
static GNSSTK_EXPORT int | debugLevel = 0 |
static GNSSTK_EXPORT bool | hexDump = false |
static const GNSSTK_EXPORT std::string | preamble |
static const GNSSTK_EXPORT std::string | trailer |
Protected Member Functions | |
virtual void | readBody (AshtechStream &stream) |
virtual void | readHeader (AshtechStream &stream) |
virtual void | reallyGetRecord (FFStream &ffs) |
virtual void | reallyPutRecord (FFStream &ffs) const |
|
inlinenoexcept |
Definition at line 67 of file AshtechData.hpp.
|
inlinevirtual |
Returns true when the provided id is valid for this message.
Definition at line 89 of file AshtechData.hpp.
|
inlinevirtual |
Decode this object from a string.
str | the string to read from. |
Reimplemented in gnsstk::AshtechMBEN, gnsstk::AshtechPBEN, gnsstk::AshtechEPB, and gnsstk::AshtechALB.
Definition at line 82 of file AshtechData.hpp.
|
virtualnoexcept |
Dump some debugging information to the given ostream.
out | the ostream to write to |
Reimplemented from gnsstk::FFData.
Reimplemented in gnsstk::AshtechMBEN, gnsstk::AshtechPBEN, and gnsstk::AshtechEPB.
Definition at line 162 of file AshtechData.cpp.
|
inlinevirtualnoexcept |
Encode this object to a string.
Definition at line 77 of file AshtechData.hpp.
|
inlinevirtual |
Simple accessors for various static thangs.
Reimplemented in gnsstk::AshtechMBEN, gnsstk::AshtechPBEN, gnsstk::AshtechEPB, and gnsstk::AshtechALB.
Definition at line 86 of file AshtechData.hpp.
|
inlinevirtual |
This class is "data" so this function always returns "true".
Reimplemented from gnsstk::FFData.
Definition at line 72 of file AshtechData.hpp.
|
inline |
Definition at line 69 of file AshtechData.hpp.
|
protectedvirtual |
FFStreamError | |
EndOfFile |
Definition at line 123 of file AshtechData.cpp.
|
protectedvirtual |
FFStreamError | |
EndOfFile |
Definition at line 82 of file AshtechData.cpp.
|
protectedvirtual |
std::exception | |
FFStreamError | |
EndOfFile |
Implements gnsstk::FFData.
Reimplemented in gnsstk::AshtechMBEN, gnsstk::AshtechPBEN, gnsstk::AshtechEPB, and gnsstk::AshtechALB.
Definition at line 68 of file AshtechData.cpp.
|
inlineprotectedvirtual |
bool gnsstk::AshtechData::ascii |
Definition at line 100 of file AshtechData.hpp.
uint16_t gnsstk::AshtechData::checksum |
Definition at line 104 of file AshtechData.hpp.
|
static |
Definition at line 96 of file AshtechData.hpp.
|
static |
Definition at line 97 of file AshtechData.hpp.
std::string gnsstk::AshtechData::id |
Definition at line 99 of file AshtechData.hpp.
|
static |
Definition at line 106 of file AshtechData.hpp.
|
static |
Definition at line 107 of file AshtechData.hpp.