#include <hikogui/label.hpp>
|
| constexpr friend bool | to_bool (text const &rhs) noexcept |
| | Check if text contains a string.
|
| |
| constexpr friend std::string | to_string (hi::text const &rhs) noexcept |
| | Convert the text into a std::string.
|
| |
| constexpr friend gstring | to_gstring (hi::text const &rhs) noexcept |
| | Convert the text into a gstring.
|
| |
A variant of text.
May be:
std::monostate
std::string
hi::gstring
hi::translate or hi::tr
◆ to_bool
| constexpr friend bool to_bool |
( |
text const & | rhs | ) |
|
|
friend |
Check if text contains a string.
- Note
to_bool() returns true on an zero length string.
◆ to_gstring
| constexpr friend gstring to_gstring |
( |
hi::text const & | rhs | ) |
|
|
friend |
Convert the text into a gstring.
◆ to_string
| constexpr friend std::string to_string |
( |
hi::text const & | rhs | ) |
|
|
friend |
The documentation for this class was generated from the following file: