|
Maps SDK for C++ 1.0.0
|
StringFormatter object. More...


Public Member Functions | |
| StringFormatter (const StringFormatter &)=delete | |
| StringFormatter (StringFormatter &&stringformatter)=default | |
| Default move constructor noexcept is deduced. | |
| StringFormatter & | operator= (const StringFormatter &)=delete |
| StringFormatter & | operator= (StringFormatter &&stringformatter)=default |
| Default move assignment noexcept is deduced. | |
| String | getLatitudeAsText (double value, const ECoordinateFormatType coordType=ctDecimal) const noexcept |
| Get the latitude as text as decimal, DMS or DDM. | |
| String | getLongitudeAsText (double value, const ECoordinateFormatType coordType=ctDecimal) const noexcept |
| Get the longitude as text as decimal, DMS or DDM. | |
| String | getCoordinateAsText (double value, const ECoordinateFormatType type) const noexcept |
| Get the coordinates as text as decimal, DMS or DDM. | |
| String | formatPhoneNumber (const String &phone, bool useInternational=true) const noexcept |
| Format the phone number into local or international format. | |
| String | encodeUrl (const String &src) const noexcept |
| Encode Url string. | |
| String | decodeUrl (const String &src) const noexcept |
| Decode Url string. | |
| String | generateUUID () const noexcept |
| Generate UUID. | |
| bool | validateUUID (const String &uuid) const noexcept |
| Validate UUID. | |
StringFormatter object.
Implements share read/write Api object over IStringFormatter.
This behaves like a singleton, i.e. all instances are sharing behind the same API interface
|
default |
Default move constructor noexcept is deduced.
| stringformatter | The source object |
Decode Url string.
| src | The source string |
Encode Url string.
| src | The source string |
|
inlinenoexcept |
Format the phone number into local or international format.
International phone number format may be used to make also local calls in all countries except USA and Canada; here the flag should be false.
| phone | The phone number |
| useInternational | The international flag |
|
inlinenoexcept |
Generate UUID.
|
inlinenoexcept |
Get the coordinates as text as decimal, DMS or DDM.
| value | The coordinate value |
| type | The coordinate format type |
|
inlinenoexcept |
Get the latitude as text as decimal, DMS or DDM.
| value | The latitude value |
| coordType | The coordinate format type |
|
inlinenoexcept |
Get the longitude as text as decimal, DMS or DDM.
| value | The longitude value |
| coordType | The coordinate format type |
|
default |
Default move assignment noexcept is deduced.
| stringformatter | The source object |
|
inlinenoexcept |
Validate UUID.
| uuid | The uuid string to validate. |