Sese Framework
x.y.z
A cross-platform framework
|
随机工具类 更多...
#include <RandomUtil.h>
Public 成员函数 | |
template<> | |
float | next () |
template<> | |
double | next () |
template<> | |
float | next (float min, float max) |
template<> | |
double | next (double min, double max) |
静态 Public 成员函数 | |
template<class RETURN_VALUE > | |
static RETURN_VALUE | next () |
template<class RETURN_VALUE > | |
static RETURN_VALUE | next (RETURN_VALUE min, RETURN_VALUE max) |
static std::string | nextString (size_t length, int required) |
static uint64_t | nextUnsignedInt64 () |
static std::random_device & | getDevInstance () noexcept |
静态 Public 属性 | |
static constexpr int | REQUIRED_UPPER_LETTER = 1 |
static constexpr int | REQUIRED_LOWER_LETTER = 2 |
static constexpr int | REQUIRED_DIGIT = 4 |
static constexpr int | REQUIRED_SYMBOL = 8 |
静态 Private 成员函数 | |
static std::string | nextString (size_t length, bool upper, bool lower, bool digit, bool symbol) |
静态 Private 属性 | |
static const std::string | UPPER_LETTER_LIST = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" |
static const std::string | LOWER_LETTER_LIST = "abcdefghijklmnopqrstuvwxyz" |
static const std::string | DIGIT_LIST = "01234567890" |
static const std::string | SYMBOL_LIST = "@#$&*()'\"%-+=/;:!,?._^[]{}|~\<>" |
static std::random_device | dev {} |
随机工具类
|
staticnoexcept |
|
inlinestatic |
引用了 getDevInstance().
被这些函数引用 sese::net::createRandomPort(), next(), next(), next() , 以及 sese::io::RandomInputStream::read().
|
inline |
引用了 next().
|
inline |
引用了 next().
|
inline |
引用了 next().
|
inline |
引用了 next().
|
inlinestatic |
引用了 getDevInstance().
|
staticprivate |
|
static |
引用了 nextString().
被这些函数引用 nextString().
|
static |
引用了 dev.
|
staticprivate |
被这些函数引用 nextUnsignedInt64().
|
staticprivate |
|
staticprivate |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticprivate |
|
staticprivate |