gpxlib
agpxlibrary
Public Member Functions | List of all members
gpx::WPT Class Reference

The waypoint class of the gpx library. More...

#include <WPT.h>

Inheritance diagram for gpx::WPT:
gpx::Node

Public Member Functions

 WPT (Node *parent, const char *name, bool mandatory=false)
 
virtual ~WPT ()
 
Latitudelat ()
 
Longitudelon ()
 
Decimalele ()
 
DateTimetime ()
 
Degreesmagvar ()
 
Decimalgeoidheight ()
 
Stringname ()
 
Stringcmt ()
 
Stringdesc ()
 
Stringsrc ()
 
Stringsym ()
 
Stringtype ()
 
Fixfix ()
 
Unsignedsat ()
 
Decimalhdop ()
 
Decimalvdop ()
 
Decimalpdop ()
 
Decimalageofdgpsdata ()
 
DGPSStationdgpsid ()
 
std::list< Node * > link ()
 
virtual NodebuildElement (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)
 
Nodeparent () const
 
std::list< Node * > & attributes ()
 
std::list< Node * > & elements ()
 
virtual NodebuildAttribute (const char *name, std::ostream *report=0)
 
virtual Nodebuilt ()
 
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 ()
 

Detailed Description

The waypoint class of the gpx library.

Constructor & Destructor Documentation

gpx::WPT::WPT ( Node parent,
const char *  name,
bool  mandatory = false 
)

Constructor

Parameters
parentthe parent node
namethe name of the attribute or element
mandatoryis the attribute or element mandatory ?
gpx::WPT::~WPT ( )
virtual

Deconstructor

Member Function Documentation

Decimal& gpx::WPT::ageofdgpsdata ( )
inline

Get ageofdgpsdata

Returns
the ageofdgpsdata object
Node * gpx::WPT::buildElement ( const char *  name,
std::ostream *  report 
)
virtual

Build the node

Parameters
namethe name of the node
reportthe optional report stream
Returns
the node (or 0 if not found)

Reimplemented from gpx::Node.

String& gpx::WPT::cmt ( )
inline

Get &cmt

Returns
the &cmt object
String& gpx::WPT::desc ( )
inline

Get desc

Returns
the desc object
DGPSStation& gpx::WPT::dgpsid ( )
inline

Get dgpsid

Returns
the dgpsid object
Decimal& gpx::WPT::ele ( )
inline

Get ele

Returns
the ele object
Fix& gpx::WPT::fix ( )
inline

Get fix

Returns
the fix object
Decimal& gpx::WPT::geoidheight ( )
inline

Get geoidheight

Returns
the geoidheight object
Decimal& gpx::WPT::hdop ( )
inline

Get hdop

Returns
the hdop object
Latitude& gpx::WPT::lat ( )
inline

Get lat

Returns
the lat object
std::list< Node * > gpx::WPT::link ( )

Get link

Returns
the link objects
Longitude& gpx::WPT::lon ( )
inline

Get lon

Returns
the lon object
Degrees& gpx::WPT::magvar ( )
inline

Get magvar

Returns
the magvar object
String& gpx::WPT::name ( )
inline

Get name

Returns
the name object
Decimal& gpx::WPT::pdop ( )
inline

Get pdop

Returns
the pdop object
Unsigned& gpx::WPT::sat ( )
inline

Get sat

Returns
the sat object
String& gpx::WPT::src ( )
inline

Get src

Returns
the src object
String& gpx::WPT::sym ( )
inline

Get sym

Returns
the sym object
DateTime& gpx::WPT::time ( )
inline

Get time

Returns
the time object
String& gpx::WPT::type ( )
inline

Get type

Returns
the type object
Decimal& gpx::WPT::vdop ( )
inline

Get vdop

Returns
the vdop object

The documentation for this class was generated from the following files: