gcc_const static inline StringBuffer<TCHAR, 16> FormatAngleDelta(Angle value) { StringBuffer<TCHAR, 16> buffer; FormatAngleDelta(buffer.data(), buffer.capacity(), value); return buffer; }
gcc_const static inline StringBuffer<TCHAR, 16> FormatBearing(unsigned degrees_value) { StringBuffer<TCHAR, 16> buffer; FormatBearing(buffer.data(), buffer.capacity(), degrees_value); return buffer; }
static inline bool TextEntryDialog(StringBuffer<TCHAR, N> &text, const TCHAR *caption, bool default_shift_state) { AllowedCharacters accb=AllowedCharacters(); return TextEntryDialog(text.data(), text.capacity(), caption, accb, default_shift_state); }
gcc_pure static inline StringBuffer<TCHAR, 32> FormatGeoPoint(const GeoPoint &location, CoordinateFormat format, TCHAR separator = _T(' ')) { StringBuffer<TCHAR, 32> buffer; auto result = FormatGeoPoint(location, buffer.data(), buffer.capacity(), format, separator); if (result == nullptr) buffer.clear(); return buffer; }
bool Get(const char *key, StringBuffer<TCHAR, max> &value) const { return Get(key, value.data(), value.capacity()); }