![]() |
Nickname Generator 1.2.1
Gamer-style nickname generation for C++23
|
Return type for nickname generation, holding both the transformed and original strings. More...
#include <nicknamegen.hpp>
Public Member Functions | |
| std::wstring | plain () const |
| Return the original word or name used to generate this nickname. | |
| std::uint64_t | seed () const |
| Retrieve the random seed used to generate this nickname. | |
| operator std::wstring () const | |
| Implicit conversion to std::wstring. | |
Friends | |
| class | nng |
| Allows nng to construct nicknames. | |
| std::wostream & | operator<< (std::wostream &wos, const nickname &nickname) |
| Stream the nickname to a wide output stream. | |
Return type for nickname generation, holding both the transformed and original strings.
Supports implicit conversion to std::wstring and streaming via operator<<.
Definition at line 35 of file nicknamegen.hpp.
|
inline |
Implicit conversion to std::wstring.
Definition at line 55 of file nicknamegen.hpp.
|
inline |
Return the original word or name used to generate this nickname.
Definition at line 40 of file nicknamegen.hpp.
|
inline |
Retrieve the random seed used to generate this nickname.
Definition at line 48 of file nicknamegen.hpp.
|
friend |
Allows nng to construct nicknames.
Definition at line 89 of file nicknamegen.hpp.
|
friend |
Stream the nickname to a wide output stream.
| wos | Output stream. |
| nickname | Nickname to stream. |
Definition at line 64 of file nicknamegen.hpp.