random_engine< int_type > Class Template Reference
#include <Random.h>
Inheritance diagram for random_engine< int_type >:
Public Types | |
typedef int_type | result_type |
Public Member Functions | |
random_engine (const std::string &device_file="/dev/urandom") SSRC_DECL_THROW(std | |
result_type min | BOOST_PREVENT_MACRO_SUBSTITUTION () const |
result_type max | BOOST_PREVENT_MACRO_SUBSTITUTION () const |
double | entropy () const |
result_type | operator() () const SSRC_DECL_THROW(std |
Static Public Attributes | |
static const bool | has_fixed_range = true |
static const result_type | min_value |
static const result_type | max_value |
Detailed Description
Member Typedef Documentation
template<typename int_type>
typedef int_type random_engine< int_type >::result_type |
Constructor & Destructor Documentation
template<typename int_type>
random_engine< int_type >::random_engine | ( | const std::string & | device_file = "/dev/urandom" | ) | [inline, explicit] |
Member Function Documentation
template<typename int_type>
result_type min random_engine< int_type >::BOOST_PREVENT_MACRO_SUBSTITUTION | ( | ) | const [inline] |
template<typename int_type>
result_type max random_engine< int_type >::BOOST_PREVENT_MACRO_SUBSTITUTION | ( | ) | const [inline] |
template<typename int_type>
double random_engine< int_type >::entropy | ( | ) | const [inline] |
template<typename int_type>
result_type random_engine< int_type >::operator() | ( | ) | const [inline] |
Member Data Documentation
template<typename int_type>
const bool random_engine< int_type >::has_fixed_range = true [static] |
template<typename int_type>
const result_type random_engine< int_type >::max_value [static] |
Initial value:
boost::integer_traits<result_type>::const_max
Definition at line 73 of file Random.h.
Referenced by random_engine< IntType >::BOOST_PREVENT_MACRO_SUBSTITUTION().
template<typename int_type>
const result_type random_engine< int_type >::min_value [static] |
Initial value:
boost::integer_traits<result_type>::const_min
Definition at line 71 of file Random.h.
Referenced by random_engine< IntType >::BOOST_PREVENT_MACRO_SUBSTITUTION().
The documentation for this class was generated from the following file:
Copyright © 2006-2011 Savarese Software Research Corporation. All rights reserved.