gpxlib
agpxlibrary
|
The waypoint class of the gpx library. More...
#include <WPT.h>
Public Member Functions | |
WPT (Node *parent, const char *name, bool mandatory=false) | |
virtual | ~WPT () |
Latitude & | lat () |
Longitude & | lon () |
Decimal & | ele () |
DateTime & | time () |
Degrees & | magvar () |
Decimal & | geoidheight () |
String & | name () |
String & | cmt () |
String & | desc () |
String & | src () |
String & | sym () |
String & | type () |
Fix & | fix () |
Unsigned & | sat () |
Decimal & | hdop () |
Decimal & | vdop () |
Decimal & | pdop () |
Decimal & | ageofdgpsdata () |
DGPSStation & | dgpsid () |
std::list< Node * > | link () |
virtual Node * | buildElement (const char *name, std::ostream *report) |
Public Member Functions inherited from gpx::Node | |
Node (Node *parent, const char *name, bool mandatory) | |
virtual | ~Node () |
const std::string & | name () const |
virtual const std::string & | value () const |
bool | mandatory () const |
bool | used () const |
void | used (bool value) |
virtual void | value (std::string value) |
Node * | parent () const |
std::list< Node * > & | attributes () |
std::list< Node * > & | elements () |
virtual Node * | buildAttribute (const char *name, std::ostream *report=0) |
virtual Node * | built () |
virtual bool | validate (std::ostream *report=0) const |
virtual bool | write (std::ostream &output, int level) const |
void | indent (std::ostream &output, int level) const |
Additional Inherited Members | |
Protected Member Functions inherited from gpx::Node | |
void | insert (const char *name, Node *node) |
void | filter (const char *name, std::list< Node * > &nodes) |
bool | isExtension () |
The waypoint class of the gpx library.
gpx::WPT::WPT | ( | Node * | parent, |
const char * | name, | ||
bool | mandatory = false |
||
) |
Constructor
parent | the parent node |
name | the name of the attribute or element |
mandatory | is the attribute or element mandatory ? |
|
virtual |
Deconstructor
|
inline |
Get ageofdgpsdata
|
virtual |
Build the node
name | the name of the node |
report | the optional report stream |
Reimplemented from gpx::Node.
|
inline |
Get &cmt
|
inline |
Get desc
|
inline |
Get dgpsid
|
inline |
Get ele
|
inline |
Get fix
|
inline |
Get geoidheight
|
inline |
Get hdop
|
inline |
Get lat
std::list< Node * > gpx::WPT::link | ( | ) |
Get link
|
inline |
Get lon
|
inline |
Get magvar
|
inline |
Get name
|
inline |
Get pdop
|
inline |
Get sat
|
inline |
Get src
|
inline |
Get sym
|
inline |
Get time
|
inline |
Get type
|
inline |
Get vdop