mirror of
https://github.com/peterantypas/maiana.git
synced 2025-05-15 23:10:11 -07:00
30 lines
433 B
C++
30 lines
433 B
C++
#ifndef __NMEA_H__
|
|
#define __NMEA_H__
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
using namespace std;
|
|
|
|
class NMEASentence
|
|
{
|
|
public:
|
|
NMEASentence(const string &raw);
|
|
const string &code() const;
|
|
const vector<string> &fields() const;
|
|
const string &raw() const;
|
|
private:
|
|
bool parse();
|
|
const string &mRaw;
|
|
string mCode;
|
|
vector<string> mFields;
|
|
};
|
|
|
|
#endif
|
|
|
|
/*
|
|
Local Variables: ***
|
|
mode: c++ ***
|
|
End: ***
|
|
*/
|