C++ Library Extensions 2022.12.09
To help learn modern C++ programming
cpg::chrono_random::random_words< CharType, Size > Class Template Reference

#include <cpg_chrono_random.hpp>

Collaboration diagram for cpg::chrono_random::random_words< CharType, Size >:
[legend]

Public Member Functions

template<typename Type , size_t ArraySize>
 random_words (size_t minimum, size_t maximum, size_t max_words, const Type(&alphabet)[ArraySize])
 
std::basic_string< char > operator() ()
 

Public Attributes

const CharType * m_alphabet
 
random_uniform_integer_t< size_t > m_character_selector
 
random_uniform_integer_t< size_t > m_length_selector
 
random_uniform_integer_t< size_t > m_wordcount_selector
 

Detailed Description

template<typename CharType, size_t Size>
class cpg::chrono_random::random_words< CharType, Size >

Definition at line 697 of file cpg_chrono_random.hpp.

Constructor & Destructor Documentation

◆ random_words()

template<typename CharType , size_t Size>
template<typename Type , size_t ArraySize>
cpg::chrono_random::random_words< CharType, Size >::random_words ( size_t  minimum,
size_t  maximum,
size_t  max_words,
const Type(&)  alphabet[ArraySize] 
)
inline

Definition at line 708 of file cpg_chrono_random.hpp.

Member Function Documentation

◆ operator()()

template<typename CharType , size_t Size>
std::basic_string< char > cpg::chrono_random::random_words< CharType, Size >::operator() ( )
inline

Definition at line 715 of file cpg_chrono_random.hpp.

Here is the call graph for this function:

Member Data Documentation

◆ m_alphabet

template<typename CharType , size_t Size>
const CharType* cpg::chrono_random::random_words< CharType, Size >::m_alphabet

Definition at line 701 of file cpg_chrono_random.hpp.

◆ m_character_selector

template<typename CharType , size_t Size>
random_uniform_integer_t<size_t> cpg::chrono_random::random_words< CharType, Size >::m_character_selector

Definition at line 702 of file cpg_chrono_random.hpp.

◆ m_length_selector

template<typename CharType , size_t Size>
random_uniform_integer_t<size_t> cpg::chrono_random::random_words< CharType, Size >::m_length_selector

Definition at line 703 of file cpg_chrono_random.hpp.

◆ m_wordcount_selector

template<typename CharType , size_t Size>
random_uniform_integer_t<size_t> cpg::chrono_random::random_words< CharType, Size >::m_wordcount_selector

Definition at line 704 of file cpg_chrono_random.hpp.


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