Classes | Public Types | Public Member Functions | Private Types | Private Member Functions | Private Attributes | Friends | List of all members
absl::log_uniform_int_distribution< IntType > Class Template Reference

#include <log_uniform_int_distribution.h>

Classes

class  param_type
 

Public Types

using result_type = IntType
 
using result_type = IntType
 

Public Member Functions

result_type base () const
 
result_type base () const
 
template<typename URBG >
log_uniform_int_distribution< IntType >::unsigned_type Generate (URBG &g, const param_type &p)
 
 log_uniform_int_distribution ()
 
 log_uniform_int_distribution ()
 
 log_uniform_int_distribution (const param_type &p)
 
 log_uniform_int_distribution (const param_type &p)
 
 log_uniform_int_distribution (result_type min, result_type max=(std::numeric_limits< result_type >::max)(), result_type base=2)
 
 log_uniform_int_distribution (result_type min, result_type max=(std::numeric_limits< result_type >::max)(), result_type base=2)
 
result_type() max () const
 
result_type() max () const
 
result_type() min () const
 
result_type() min () const
 
template<typename URBG >
result_type operator() (URBG &g)
 
template<typename URBG >
result_type operator() (URBG &g)
 
template<typename URBG >
result_type operator() (URBG &g, const param_type &p)
 
template<typename URBG >
result_type operator() (URBG &g, const param_type &p)
 
param_type param () const
 
param_type param () const
 
void param (const param_type &p)
 
void param (const param_type &p)
 
void reset ()
 
void reset ()
 

Private Types

using unsigned_type = typename random_internal::make_unsigned_bits< IntType >::type
 
using unsigned_type = typename random_internal::make_unsigned_bits< IntType >::type
 

Private Member Functions

template<typename URNG >
unsigned_type Generate (URNG &g, const param_type &p)
 
template<typename URNG >
unsigned_type Generate (URNG &g, const param_type &p)
 

Private Attributes

param_type param_
 

Friends

bool operator!= (const log_uniform_int_distribution &a, const log_uniform_int_distribution &b)
 
bool operator!= (const log_uniform_int_distribution &a, const log_uniform_int_distribution &b)
 
bool operator== (const log_uniform_int_distribution &a, const log_uniform_int_distribution &b)
 
bool operator== (const log_uniform_int_distribution &a, const log_uniform_int_distribution &b)
 

Detailed Description

template<typename IntType = int>
class absl::log_uniform_int_distribution< IntType >

Definition at line 44 of file abseil-cpp/absl/random/log_uniform_int_distribution.h.

Member Typedef Documentation

◆ result_type [1/2]

template<typename IntType = int>
using absl::log_uniform_int_distribution< IntType >::result_type = IntType

◆ result_type [2/2]

template<typename IntType = int>
using absl::log_uniform_int_distribution< IntType >::result_type = IntType

◆ unsigned_type [1/2]

template<typename IntType = int>
using absl::log_uniform_int_distribution< IntType >::unsigned_type = typename random_internal::make_unsigned_bits<IntType>::type
private

◆ unsigned_type [2/2]

template<typename IntType = int>
using absl::log_uniform_int_distribution< IntType >::unsigned_type = typename random_internal::make_unsigned_bits<IntType>::type
private

Constructor & Destructor Documentation

◆ log_uniform_int_distribution() [1/6]

template<typename IntType = int>
absl::log_uniform_int_distribution< IntType >::log_uniform_int_distribution ( )
inline

◆ log_uniform_int_distribution() [2/6]

template<typename IntType = int>
absl::log_uniform_int_distribution< IntType >::log_uniform_int_distribution ( result_type  min,
result_type  max = (std::numeric_limits<result_type>::max)(),
result_type  base = 2 
)
inlineexplicit

◆ log_uniform_int_distribution() [3/6]

template<typename IntType = int>
absl::log_uniform_int_distribution< IntType >::log_uniform_int_distribution ( const param_type p)
inlineexplicit

◆ log_uniform_int_distribution() [4/6]

template<typename IntType = int>
absl::log_uniform_int_distribution< IntType >::log_uniform_int_distribution ( )
inline

◆ log_uniform_int_distribution() [5/6]

template<typename IntType = int>
absl::log_uniform_int_distribution< IntType >::log_uniform_int_distribution ( result_type  min,
result_type  max = (std::numeric_limits<result_type>::max)(),
result_type  base = 2 
)
inlineexplicit

◆ log_uniform_int_distribution() [6/6]

template<typename IntType = int>
absl::log_uniform_int_distribution< IntType >::log_uniform_int_distribution ( const param_type p)
inlineexplicit

Member Function Documentation

◆ base() [1/2]

template<typename IntType = int>
result_type absl::log_uniform_int_distribution< IntType >::base ( ) const
inline

◆ base() [2/2]

template<typename IntType = int>
result_type absl::log_uniform_int_distribution< IntType >::base ( ) const
inline

◆ Generate() [1/3]

template<typename IntType >
template<typename URBG >
log_uniform_int_distribution< IntType >::unsigned_type absl::log_uniform_int_distribution< IntType >::Generate ( URBG &  g,
const param_type p 
)

◆ Generate() [2/3]

template<typename IntType = int>
template<typename URNG >
unsigned_type absl::log_uniform_int_distribution< IntType >::Generate ( URNG &  g,
const param_type p 
)
private

◆ Generate() [3/3]

template<typename IntType = int>
template<typename URNG >
unsigned_type absl::log_uniform_int_distribution< IntType >::Generate ( URNG &  g,
const param_type p 
)
private

◆ max() [1/2]

template<typename IntType = int>
result_type() absl::log_uniform_int_distribution< IntType >::max ( ) const
inline

◆ max() [2/2]

template<typename IntType = int>
result_type() absl::log_uniform_int_distribution< IntType >::max ( ) const
inline

◆ min() [1/2]

template<typename IntType = int>
result_type() absl::log_uniform_int_distribution< IntType >::min ( ) const
inline

◆ min() [2/2]

template<typename IntType = int>
result_type() absl::log_uniform_int_distribution< IntType >::min ( ) const
inline

◆ operator()() [1/4]

template<typename IntType = int>
template<typename URBG >
result_type absl::log_uniform_int_distribution< IntType >::operator() ( URBG &  g)
inline

◆ operator()() [2/4]

template<typename IntType = int>
template<typename URBG >
result_type absl::log_uniform_int_distribution< IntType >::operator() ( URBG &  g)
inline

◆ operator()() [3/4]

template<typename IntType = int>
template<typename URBG >
result_type absl::log_uniform_int_distribution< IntType >::operator() ( URBG &  g,
const param_type p 
)
inline

◆ operator()() [4/4]

template<typename IntType = int>
template<typename URBG >
result_type absl::log_uniform_int_distribution< IntType >::operator() ( URBG &  g,
const param_type p 
)
inline

◆ param() [1/4]

template<typename IntType = int>
param_type absl::log_uniform_int_distribution< IntType >::param ( ) const
inline

◆ param() [2/4]

template<typename IntType = int>
param_type absl::log_uniform_int_distribution< IntType >::param ( ) const
inline

◆ param() [3/4]

template<typename IntType = int>
void absl::log_uniform_int_distribution< IntType >::param ( const param_type p)
inline

◆ param() [4/4]

template<typename IntType = int>
void absl::log_uniform_int_distribution< IntType >::param ( const param_type p)
inline

◆ reset() [1/2]

template<typename IntType = int>
void absl::log_uniform_int_distribution< IntType >::reset ( )
inline

◆ reset() [2/2]

template<typename IntType = int>
void absl::log_uniform_int_distribution< IntType >::reset ( )
inline

Friends And Related Function Documentation

◆ operator!= [1/2]

template<typename IntType = int>
bool operator!= ( const log_uniform_int_distribution< IntType > &  a,
const log_uniform_int_distribution< IntType > &  b 
)
friend

◆ operator!= [2/2]

template<typename IntType = int>
bool operator!= ( const log_uniform_int_distribution< IntType > &  a,
const log_uniform_int_distribution< IntType > &  b 
)
friend

◆ operator== [1/2]

template<typename IntType = int>
bool operator== ( const log_uniform_int_distribution< IntType > &  a,
const log_uniform_int_distribution< IntType > &  b 
)
friend

◆ operator== [2/2]

template<typename IntType = int>
bool operator== ( const log_uniform_int_distribution< IntType > &  a,
const log_uniform_int_distribution< IntType > &  b 
)
friend

Member Data Documentation

◆ param_

template<typename IntType = int>
param_type absl::log_uniform_int_distribution< IntType >::param_
private

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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:02:18