HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
Public Member Functions
tt::detail::l10n_args_base Class Referenceabstract
Inheritance diagram for tt::detail::l10n_args_base:
tt::detail::l10n_args< Values >

Public Member Functions

virtual std::string format (std::string_view fmt) const noexcept=0
 Format text from the arguments and the given format string.
 
virtual std::string format (std::locale const &loc, std::string_view fmt) const noexcept=0
 Format text from the arguments and the given format string.
 
virtual long long n () const noexcept=0
 The numeric value of the first numeric argument.
 
virtual std::unique_ptr< l10n_args_baseunique_copy () const noexcept=0
 Make a unique copy of the arguments.
 
virtual bool equal_to (l10n_args_base const &rhs) const noexcept=0
 
bool friend operator== (l10n_args_base const &lhs, l10n_args_base const &rhs) noexcept
 

Member Function Documentation

◆ format() [1/2]

virtual std::string tt::detail::l10n_args_base::format ( std::locale const & loc,
std::string_view fmt ) const
pure virtualnoexcept

Format text from the arguments and the given format string.

@patam loc The locale to use when formatting.

Parameters
fmtThe format string.

Implemented in tt::detail::l10n_args< Values >.

◆ format() [2/2]

virtual std::string tt::detail::l10n_args_base::format ( std::string_view fmt) const
pure virtualnoexcept

Format text from the arguments and the given format string.

Parameters
fmtThe format string.

Implemented in tt::detail::l10n_args< Values >.

◆ n()

virtual long long tt::detail::l10n_args_base::n ( ) const
pure virtualnoexcept

The numeric value of the first numeric argument.

Returns
The numeric value of the first numeric argument or zero.

Implemented in tt::detail::l10n_args< Values >.

◆ unique_copy()

virtual std::unique_ptr< l10n_args_base > tt::detail::l10n_args_base::unique_copy ( ) const
pure virtualnoexcept

Make a unique copy of the arguments.

Implemented in tt::detail::l10n_args< Values >.


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