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

The extent of an element class. More...

#include <Bounds.h>

Inheritance diagram for gpx::Bounds:
gpx::Node

Public Member Functions

 Bounds (Node *parent, const char *name, bool mandatory=false)
 
virtual ~Bounds ()
 
Latitudeminlat ()
 
Longitudeminlon ()
 
Latitudemaxlat ()
 
Longitudemaxlon ()
 
- 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 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 extent of an element class.

Constructor & Destructor Documentation

gpx::Bounds::Bounds ( 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::Bounds::~Bounds ( )
virtual

Deconstructor

Member Function Documentation

Latitude& gpx::Bounds::maxlat ( )
inline

Get maxlat

Returns
the maxlat object
Longitude& gpx::Bounds::maxlon ( )
inline

Get maxlon

Returns
the maxlon object
Latitude& gpx::Bounds::minlat ( )
inline

Get minlat

Returns
the minlat object
Longitude& gpx::Bounds::minlon ( )
inline

Get minlon

Returns
the minlon object

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