◆ 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
-
posString | The position string to extract positions from |
formatString | The format used in the position string |
outPos | The geo position to be set |
loc | the locale to use for parsing |
- Returns
- true on successful extraction, false on error
The documentation for this class was generated from the following files:
- Native/MariaNative/MCommon/MGenericPositionParser.h
- Native/MariaNative/MCommon/MGenericPositionParser.cpp