Maria GDK 5.0.0.737
Documentation of native code in develop branch
Loading...
Searching...
No Matches
Maria::GenericPositionParser Class Reference

Static Public Member Functions

static bool Parse (const std::string &posString, const std::string &formatString, BasicGeoTypes::GeoPos &outPos, const std::locale &loc=std::locale::classic())
 Parse a generic position string. For more information on the format, look to http://docs.maria.teleplanglobe.com/wiki/Position_parsing_and_formatting.
 

Member Function Documentation

◆ Parse()

bool Maria::GenericPositionParser::Parse ( const std::string &  posString,
const std::string &  formatString,
BasicGeoTypes::GeoPos outPos,
const std::locale &  loc = std::locale::classic() 
)
static

Parse a generic position string. For more information on the format, look to http://docs.maria.teleplanglobe.com/wiki/Position_parsing_and_formatting.

Parameters
posStringThe position string to extract positions from
formatStringThe format used in the position string
outPosThe geo position to be set
locthe locale to use for parsing
Returns
true on successful extraction, false on error

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