libyui-ncurses
|
#include <NCstring.h>
Public Member Functions | |
NCstring (const NCstring &nstr) | |
NCstring (const std::wstring &wstr) | |
NCstring (const std::string &str) | |
Init from a UTF-8 string. | |
NCstring (const char *cstr) | |
Init from a UTF-8 string. | |
std::string | Str () const |
Get a UTF-8 string. | |
NCstring & | operator= (const NCstring &nstr) |
NCstring & | operator+= (const NCstring &nstr) |
const std::wstring & | str () const |
void | getHotkey () const |
(mutates the const object) | |
Friends | |
class | NClabel |
std::ostream & | operator<< (std::ostream &str, const NCstring &obj) |
A string with an optional hot key.
The current implementation stores a std::wstring.