Aria  2.8.0
ArMapSupplement Class Reference

Supplemental data associated with an Aria map. More...

#include <ArMapComponents.h>

Inherits ArMapSupplementInterface.

Public Member Functions

virtual bool addToFileParser (ArFileParser *fileParser)
 Adds handlers for all of the supplement keywords to the given file parser.
 
 ArMapSupplement ()
 Constructor.
 
 ArMapSupplement (const ArMapSupplement &other)
 Copy constructor.
 
virtual void clear ()
 Resets the map supplement to its default values.
 
virtual double getOriginAltitude ()
 Returns the altitude of the origin; valid only if hasOriginLatLongAlt returns true.
 
virtual ArPose getOriginLatLong ()
 Returns the latitude/longitude origin of the map; valid only if hasOriginLatLongAlt returns true.
 
virtual ArTime getTimeChanged () const
 Returns the time at which the supplement data were last changed.
 
virtual bool hasOriginLatLongAlt ()
 Gets if this map has an OriginLatLong or not.
 
ArMapSupplementoperator= (const ArMapSupplement &other)
 Assignment operator.
 
virtual bool remFromFileParser (ArFileParser *fileParser)
 Removes handlers for all of the supplement keywords from the given file parser.
 
virtual void setOriginLatLongAlt (bool hasOriginLatLong, const ArPose &originLatLong, double altitude, ArMapChangeDetails *changeDetails=NULL)
 
virtual void writeSupplementToFunctor (ArFunctor1< const char *> *functor, const char *endOfLineChars)
 
virtual ~ArMapSupplement ()
 Destructor.
 
- Public Member Functions inherited from ArMapSupplementInterface
 ArMapSupplementInterface ()
 Default constructor.
 
virtual ~ArMapSupplementInterface ()
 Destructor.
 

Protected Member Functions

bool handleOriginLatLongAlt (ArArgumentBuilder *arg)
 

Protected Attributes

bool myHasOriginLatLongAlt
 Whether the supplement data contains latitude/longitude information for the origin.
 
double myOriginAltitude
 The altitude (in m) of the origin; only if myHasOriginLatLongAlt is true.
 
ArPose myOriginLatLong
 The latitude/longitude of the origin; only if myHasOriginLatLongAlt is true.
 
ArRetFunctor1C< bool, ArMapSupplement, ArArgumentBuilder * > myOriginLatLongAltCB
 Callback that parses the origin latitude/longitude/altitude information.
 
ArTime myTimeChanged
 Time at which the supplement was last changed.
 

Detailed Description

Supplemental data associated with an Aria map.

ArMapSupplement is a repository for extra, miscellaneous data that is associated with an Aria map but which does not fit neatly into any of the other components.


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