HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
v1::detail::translate_args_base Class Referenceabstract
Inheritance diagram for v1::detail::translate_args_base:
v1::detail::translate_args< Values >

Public Member Functions

 translate_args_base (translate_args_base const &)=default
 translate_args_base (translate_args_base &&)=default
translate_args_base & operator= (translate_args_base const &)=default
translate_args_base & operator= (translate_args_base &&)=default
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< translate_args_base > unique_copy () const noexcept=0
 Make a unique copy of the arguments.
virtual bool equal_to (translate_args_base const &rhs) const noexcept=0
bool friend operator== (translate_args_base const &lhs, translate_args_base const &rhs) noexcept

Member Function Documentation

◆ format() [1/2]

virtual std::string v1::detail::translate_args_base::format ( std::locale const & loc,
std::string_view fmt ) const
nodiscardpure virtualnoexcept

Format text from the arguments and the given format string.

Parameters
locThe locale to use when formatting.
fmtThe format string.

Implemented in v1::detail::translate_args< Values >.

◆ format() [2/2]

virtual std::string v1::detail::translate_args_base::format ( std::string_view fmt) const
nodiscardpure virtualnoexcept

Format text from the arguments and the given format string.

Parameters
fmtThe format string.

Implemented in v1::detail::translate_args< Values >.

◆ n()

virtual long long v1::detail::translate_args_base::n ( ) const
nodiscardpure virtualnoexcept

The numeric value of the first numeric argument.

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

Implemented in v1::detail::translate_args< Values >.

◆ unique_copy()

virtual std::unique_ptr< translate_args_base > v1::detail::translate_args_base::unique_copy ( ) const
nodiscardpure virtualnoexcept

Make a unique copy of the arguments.

Implemented in v1::detail::translate_args< Values >.


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