Public Member Functions | List of all members
gpx::Longitude Class Reference

The longitude of a point class, decimal degrees. More...

#include <Longitude.h>

Inheritance diagram for gpx::Longitude:
gpx::Decimal gpx::Node

Public Member Functions

 Longitude (Node *parent, const char *name, bool mandatory=false)
virtual ~Longitude ()
virtual bool validate (std::ostream *report=0) const
- Public Member Functions inherited from gpx::Decimal
 Decimal (Node *parent, const char *name, bool mandatory=false)
virtual ~Decimal ()
- 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 NodebuildElement (const char *name, std::ostream *report=0)
virtual Nodebuilt ()
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 longitude of a point class, decimal degrees.

Constructor & Destructor Documentation

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


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


Member Function Documentation

bool gpx::Longitude::validate ( std::ostream *  report = 0) const

Validate the Longitude object

reportthe optional report stream
is validation succesfull

Reimplemented from gpx::Decimal.

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