Mantid
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | Private Attributes | Friends | List of all members
Mantid::Kernel::uniform_int_distribution< _IntType > Class Template Reference

#include <uniform_int_distribution.h>

Classes

class  param_type
 

Public Types

using result_type = _IntType
 

Public Member Functions

result_type a () const
 
result_type b () const
 
result_type max () const
 
result_type min () const
 
template<class _URNG >
result_type operator() (_URNG &__g)
 
template<class _URNG >
result_type operator() (_URNG &__g, const param_type &__p)
 
param_type param () const
 
void param (const param_type &__p)
 
void reset ()
 
 uniform_int_distribution (const param_type &__p)
 
 uniform_int_distribution (result_type __a=0, result_type __b=std::numeric_limits< result_type >::max())
 

Private Attributes

param_type __p_
 

Friends

bool operator!= (const uniform_int_distribution &__x, const uniform_int_distribution &__y)
 
bool operator== (const uniform_int_distribution &__x, const uniform_int_distribution &__y)
 

Detailed Description

template<class _IntType = int>
class Mantid::Kernel::uniform_int_distribution< _IntType >

Definition at line 207 of file uniform_int_distribution.h.

Member Typedef Documentation

◆ result_type

template<class _IntType = int>
using Mantid::Kernel::uniform_int_distribution< _IntType >::result_type = _IntType

Definition at line 210 of file uniform_int_distribution.h.

Constructor & Destructor Documentation

◆ uniform_int_distribution() [1/2]

template<class _IntType = int>
Mantid::Kernel::uniform_int_distribution< _IntType >::uniform_int_distribution ( result_type  __a = 0,
result_type  __b = std::numeric_limits<result_type>::max() 
)
inlineexplicit

Definition at line 236 of file uniform_int_distribution.h.

◆ uniform_int_distribution() [2/2]

template<class _IntType = int>
Mantid::Kernel::uniform_int_distribution< _IntType >::uniform_int_distribution ( const param_type __p)
inlineexplicit

Definition at line 238 of file uniform_int_distribution.h.

Member Function Documentation

◆ a()

template<class _IntType = int>
result_type Mantid::Kernel::uniform_int_distribution< _IntType >::a ( ) const
inline

◆ b()

template<class _IntType = int>
result_type Mantid::Kernel::uniform_int_distribution< _IntType >::b ( ) const
inline

◆ max()

template<class _IntType = int>
result_type Mantid::Kernel::uniform_int_distribution< _IntType >::max ( ) const
inline

◆ min()

template<class _IntType = int>
result_type Mantid::Kernel::uniform_int_distribution< _IntType >::min ( ) const
inline

◆ operator()() [1/2]

template<class _IntType = int>
template<class _URNG >
result_type Mantid::Kernel::uniform_int_distribution< _IntType >::operator() ( _URNG &  __g)
inline

◆ operator()() [2/2]

template<class _IntType >
template<class _URNG >
uniform_int_distribution< _IntType >::result_type Mantid::Kernel::uniform_int_distribution< _IntType >::operator() ( _URNG &  __g,
const param_type __p 
)

◆ param() [1/2]

template<class _IntType = int>
param_type Mantid::Kernel::uniform_int_distribution< _IntType >::param ( ) const
inline

◆ param() [2/2]

template<class _IntType = int>
void Mantid::Kernel::uniform_int_distribution< _IntType >::param ( const param_type __p)
inline

◆ reset()

template<class _IntType = int>
void Mantid::Kernel::uniform_int_distribution< _IntType >::reset ( )
inline

Definition at line 239 of file uniform_int_distribution.h.

Friends And Related Function Documentation

◆ operator!=

template<class _IntType = int>
bool operator!= ( const uniform_int_distribution< _IntType > &  __x,
const uniform_int_distribution< _IntType > &  __y 
)
friend

Definition at line 258 of file uniform_int_distribution.h.

◆ operator==

template<class _IntType = int>
bool operator== ( const uniform_int_distribution< _IntType > &  __x,
const uniform_int_distribution< _IntType > &  __y 
)
friend

Definition at line 255 of file uniform_int_distribution.h.

Member Data Documentation

◆ __p_

template<class _IntType = int>
param_type Mantid::Kernel::uniform_int_distribution< _IntType >::__p_
private

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