gpxlib
agpxlibrary
|
The metadata from another schema's class. More...
#include <Metadata.h>
Public Member Functions | |
Metadata (Node *parent, const char *name, bool mandatory=false) | |
virtual | ~Metadata () |
String & | name () |
String & | desc () |
Person & | author () |
Copyright & | copyright () |
std::list< Node * > | link () |
DateTime & | time () |
String & | keywords () |
Bounds & | bounds () |
Extensions & | extensions () |
virtual Node * | buildElement (const char *name, std::ostream *report=0) |
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) |
Node * | parent () const |
std::list< Node * > & | attributes () |
std::list< Node * > & | elements () |
virtual Node * | buildAttribute (const char *name, std::ostream *report=0) |
virtual Node * | built () |
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 () |
The metadata from another schema's class.
gpx::Metadata::Metadata | ( | Node * | parent, |
const char * | name, | ||
bool | mandatory = false |
||
) |
Constructor
parent | the parent node |
name | the name of the attribute or element |
mandatory | is the attribute or element mandatory ? |
|
virtual |
Deconstructor
|
inline |
Get author
|
inline |
Get bounds
|
virtual |
Build an element
name | the name of an element |
report | the optional report stream |
Reimplemented from gpx::Node.
|
inline |
Get copyright
|
inline |
Get desc
|
inline |
Get extensions
|
inline |
Get keywords
|
inline |
Get name
|
inline |
Get time