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

Static Public Member Functions

static bool Format (const BasicGeoTypes::GeoPos &pos, const std::string &formatString, std::string &formattedString, const std::locale &loc=std::locale::classic())
 Formats a GeoPos in accordance to a user specified format string. For more info on the format look at http://docs.maria.teleplanglobe.com/wiki/Position_parsing_and_formatting.
 

Member Function Documentation

◆ Format()

bool GenericPositionFormatter::Format ( const BasicGeoTypes::GeoPos pos,
const std::string &  formatString,
std::string &  formattedString,
const std::locale &  loc = std::locale::classic() 
)
static

Formats a GeoPos in accordance to a user specified format string. For more info on the format look at http://docs.maria.teleplanglobe.com/wiki/Position_parsing_and_formatting.

Parameters
posThe position to format
formatStringThe format to use when formatting
formattedStringThe output from the function
locThe locale to use while parsing
Returns
true on successful execution, false on error

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