Decimal degrees.
More...
#include <Degrees.h>
|
| Degrees (Node *parent, const char *name, bool mandatory=false) |
|
virtual | ~Degrees () |
|
virtual bool | validate (std::ostream *report=0) const |
|
| Decimal (Node *parent, const char *name, bool mandatory=false) |
|
virtual | ~Decimal () |
|
| 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 * | buildElement (const char *name, std::ostream *report=0) |
|
virtual Node * | built () |
|
virtual bool | write (std::ostream &output, int level) const |
|
void | indent (std::ostream &output, int level) const |
|
gpx::Degrees::Degrees |
( |
Node * |
parent, |
|
|
const char * |
name, |
|
|
bool |
mandatory = false |
|
) |
| |
Constructor
- Parameters
-
parent | the parent node |
name | the name of the attribute or element |
mandatory | is the attribute or element mandatory ? |
gpx::Degrees::~Degrees |
( |
) | |
|
|
virtual |
bool gpx::Degrees::validate |
( |
std::ostream * |
report = 0 ) | |
const |
|
virtual |
Validate the Degrees object
- Parameters
-
report | the optional report stream |
- Returns
- is validation succesfull
Reimplemented from gpx::Decimal.
The documentation for this class was generated from the following files: