Nickname Generator 5.2.2
Gamer-style nickname generation for C++23
Loading...
Searching...
No Matches
nicknamegen.hpp File Reference

Nickname generator library — gamer-style nickname generation for C++23. More...

#include "core.hpp"
#include <algorithm>
#include <cmath>
#include <array>
#include <cstddef>
#include <cstdint>
#include <filesystem>
#include <map>
#include <optional>
#include <ostream>
#include <span>
#include <stdexcept>
#include <string>
#include <string_view>
#include <system_error>
#include <utility>
#include <vector>

Go to the source code of this file.

Classes

struct  dasmig::nickname_request
 Per-call choices for nickname generation. More...
 
class  dasmig::nickname
 Return type for nickname generation, holding both the transformed nickname and the original source string. More...
 
class  dasmig::nng
 Nickname generator that produces gamer-style nicknames. More...
 

Enumerations

enum class  dasmig::nickname_style : std::uint8_t { gaming , username }
 The kind of nickname a request asks for. More...
 

Detailed Description

Nickname generator library — gamer-style nickname generation for C++23.

Author
Diego Dasso Migotto (diegomigotto at hotmail dot com)
See also
See doc/usage.md for the narrative tutorial.

Definition in file nicknamegen.hpp.

Enumeration Type Documentation

◆ nickname_style

enum class dasmig::nickname_style : std::uint8_t
strong

The kind of nickname a request asks for.

Enumerator
gaming 

A gaming handle: decorated and cased freely ("xX_Nioi_Xx", "dR4g0n").

username 

A username: lowercase letters and digits, with . or _ ("john.smith92").

Definition at line 42 of file nicknamegen.hpp.