gps::Nmea0183 Class Reference

#include <nmea0183.h>

Inheritance diagram for gps::Nmea0183:

Inheritance graph
[legend]
List of all members.

Detailed Description

NMEA 0183 Sentence.

Author:
Walter Fetter Lages <w.fetter@ieee.org>


Public Member Functions

 Nmea0183 (const char sentence[])
 Constructs a NMEA 0183 sentence.
virtual ~Nmea0183 (void)
 Destroys a NMEA 0183 sentence.

Protected Member Functions

virtual char * field (int field) const
 Gets a field in the sentence.

Friends

std::ostream & operator<< (std::ostream &s, const Nmea0183 &sentence)
 Nmea0183 output stream.


Constructor & Destructor Documentation

gps::Nmea0183::Nmea0183 ( const char  sentence[]  ) 

Constructs a NMEA 0183 sentence.

Parameters:
sentence pointer to string sentence


Member Function Documentation

virtual char* gps::Nmea0183::field ( int  field  )  const [protected, virtual]

Gets a field in the sentence.

Parameters:
field number of the field
Returns:
pointer to the start of the field


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  s,
const Nmea0183 sentence 
) [friend]

Nmea0183 output stream.

Parameters:
s output stream
sentence NMEA0183 sentence
Returns:
output stream


The documentation for this class was generated from the following file:
Generated on Fri May 23 04:11:16 2008 for GPS Library by  doxygen 1.5.2