Go to the documentation of this file.
44 #ifndef ASHTECHDATA_HPP
45 #define ASHTECHDATA_HPP
50 #include "gnsstk_export.h"
72 virtual bool isData()
const {
return true;}
77 virtual std::string
encode()
const noexcept {
return std::string(); }
82 virtual void decode(
const std::string& str)
83 {std::cout<<
"AshtechData::decode()"<<std::endl;}
86 virtual std::string
getName()
const {
return "hdr";}
89 virtual bool checkId(std::string hdrId)
const {
return false;}
94 void dump(std::ostream& out)
const noexcept;
107 GNSSTK_EXPORT
static const std::string
trailer;
115 gnsstk::FFStreamError e(
"Writing of AshtecData is not supported.");
virtual std::string encode() const noexcept
virtual void decode(const std::string &str)
void dump(std::ostream &out) const noexcept
virtual bool checkId(std::string hdrId) const
Returns true when the provided id is valid for this message.
virtual bool isData() const
This class is "data" so this function always returns "true".
virtual void readHeader(AshtechStream &stream)
virtual void reallyGetRecord(FFStream &ffs)
virtual std::string getName() const
Simple accessors for various static thangs.
static const GNSSTK_EXPORT std::string trailer
static const GNSSTK_EXPORT std::string preamble
virtual void reallyPutRecord(FFStream &ffs) const
static GNSSTK_EXPORT int debugLevel
#define GNSSTK_THROW(exc)
static GNSSTK_EXPORT bool hexDump
virtual void readBody(AshtechStream &stream)
gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:38