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

The list of track points class of the gpx library. More...

#include <TRKSeg.h>

Inheritance diagram for gpx::TRKSeg:
gpx::Node

Public Member Functions

 TRKSeg (Node *parent, const char *name, bool mandatory=false)
 
virtual ~TRKSeg ()
 
std::list< Node * > trkpt ()
 
Extensionsextensions ()
 
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 list of track points class of the gpx library.

Constructor & Destructor Documentation

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

Deconstructor

Member Function Documentation

Node * gpx::TRKSeg::buildElement ( const char *  name,
std::ostream *  report 
)
virtual

Build the element

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

Reimplemented from gpx::Node.

Extensions& gpx::TRKSeg::extensions ( )
inline

Get extensions

Returns
the extensions object
std::list< Node * > gpx::TRKSeg::trkpt ( )

Get trkpt

Returns
the trkpt objects

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