MySQL 9.3.0
Source Code Documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
helper::GeneratorSmallAlpha Struct Reference

#include <random.h>

Inheritance diagram for helper::GeneratorSmallAlpha:
[legend]

Static Public Member Functions

static char generate ()
 
- Static Public Member Functions inherited from helper::GeneratorBase
static int get_random_int (int range)
 Static method that generates random number. More...
 

Static Public Attributes

static const int kNumberOfCharacters = smallRange
 

Static Protected Attributes

static const char smallEnd = 'z'
 
static const char smallBegin = 'a'
 
static const char bigEnd = 'Z'
 
static const char bigBegin = 'A'
 
static const int smallRange = (smallEnd - smallBegin) + 1
 
static const int bigRange = (bigEnd - bigBegin) + 1
 

Member Function Documentation

◆ generate()

static char helper::GeneratorSmallAlpha::generate ( )
inlinestatic

Member Data Documentation

◆ bigBegin

const char helper::GeneratorSmallAlpha::bigBegin = 'A'
staticprotected

◆ bigEnd

const char helper::GeneratorSmallAlpha::bigEnd = 'Z'
staticprotected

◆ bigRange

const int helper::GeneratorSmallAlpha::bigRange = (bigEnd - bigBegin) + 1
staticprotected

◆ kNumberOfCharacters

const int helper::GeneratorSmallAlpha::kNumberOfCharacters = smallRange
static

◆ smallBegin

const char helper::GeneratorSmallAlpha::smallBegin = 'a'
staticprotected

◆ smallEnd

const char helper::GeneratorSmallAlpha::smallEnd = 'z'
staticprotected

◆ smallRange

const int helper::GeneratorSmallAlpha::smallRange = (smallEnd - smallBegin) + 1
staticprotected

The documentation for this struct was generated from the following file: