C++ Library Extensions 2022.12.09
To help learn modern C++ programming
tpf::chrono_random::random_t< Type, DistributionType, EngineType > Class Template Reference

#include <tpf_chrono_random.hpp>

Public Types

using engine_type = EngineType
 
using distribution_type = DistributionType
 

Public Member Functions

 random_t (Type range_start=Type{}, Type range_end=Type{100}, unsigned int seed=0)
 
 random_t (const random_t &)=default
 
random_toperator= (const random_t &)=default
 
Type operator() () const
 
template<typename SizeType >
auto clone (SizeType size) const
 
template<typename SizeType >
auto clone_pair (SizeType size) const
 

Detailed Description

template<typename Type, typename DistributionType, typename EngineType>
class tpf::chrono_random::random_t< Type, DistributionType, EngineType >

Definition at line 223 of file tpf_chrono_random.hpp.

Member Typedef Documentation

◆ distribution_type

template<typename Type , typename DistributionType , typename EngineType >
using tpf::chrono_random::random_t< Type, DistributionType, EngineType >::distribution_type = DistributionType

Definition at line 227 of file tpf_chrono_random.hpp.

◆ engine_type

template<typename Type , typename DistributionType , typename EngineType >
using tpf::chrono_random::random_t< Type, DistributionType, EngineType >::engine_type = EngineType

Definition at line 226 of file tpf_chrono_random.hpp.

Constructor & Destructor Documentation

◆ random_t() [1/2]

template<typename Type , typename DistributionType , typename EngineType >
tpf::chrono_random::random_t< Type, DistributionType, EngineType >::random_t ( Type  range_start = Type{},
Type  range_end = Type{100},
unsigned int  seed = 0 
)
inline

Definition at line 235 of file tpf_chrono_random.hpp.

◆ random_t() [2/2]

template<typename Type , typename DistributionType , typename EngineType >
tpf::chrono_random::random_t< Type, DistributionType, EngineType >::random_t ( const random_t< Type, DistributionType, EngineType > &  )
default

Member Function Documentation

◆ clone()

template<typename Type , typename DistributionType , typename EngineType >
template<typename SizeType >
auto tpf::chrono_random::random_t< Type, DistributionType, EngineType >::clone ( SizeType  size) const

Definition at line 290 of file tpf_chrono_random.hpp.

Here is the call graph for this function:

◆ clone_pair()

template<typename Type , typename DistributionType , typename EngineType >
template<typename SizeType >
auto tpf::chrono_random::random_t< Type, DistributionType, EngineType >::clone_pair ( SizeType  size) const

Definition at line 318 of file tpf_chrono_random.hpp.

Here is the call graph for this function:

◆ operator()()

template<typename Type , typename DistributionType , typename EngineType >
Type tpf::chrono_random::random_t< Type, DistributionType, EngineType >::operator() ( ) const
inline

Definition at line 246 of file tpf_chrono_random.hpp.

◆ operator=()

template<typename Type , typename DistributionType , typename EngineType >
random_t & tpf::chrono_random::random_t< Type, DistributionType, EngineType >::operator= ( const random_t< Type, DistributionType, EngineType > &  )
default

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