Savarese Software Research Corporation
Random< int_type, distribution, engine > Class Template Reference

#include <Random.h>

List of all members.

Public Types

typedef int_type result_type
typedef boost::integer_traits
< result_type
result_type_traits
typedef engine random_engine
typedef distribution< result_typerandom_distribution

Public Member Functions

 Random (result_type min=result_type_traits::const_min, result_type max=result_type_traits::const_max)
result_type operator() ()

Detailed Description

template<typename int_type, template< typename U > class distribution = boost::uniform_int, class engine = random_engine<unsigned int>>
class Random< int_type, distribution, engine >

Definition at line 103 of file Random.h.


Member Typedef Documentation

template<typename int_type , template< typename U > class distribution = boost::uniform_int, class engine = random_engine<unsigned int>>
typedef distribution<result_type> Random< int_type, distribution, engine >::random_distribution

Definition at line 108 of file Random.h.

template<typename int_type , template< typename U > class distribution = boost::uniform_int, class engine = random_engine<unsigned int>>
typedef engine Random< int_type, distribution, engine >::random_engine

Definition at line 107 of file Random.h.

template<typename int_type , template< typename U > class distribution = boost::uniform_int, class engine = random_engine<unsigned int>>
typedef int_type Random< int_type, distribution, engine >::result_type

Definition at line 105 of file Random.h.

template<typename int_type , template< typename U > class distribution = boost::uniform_int, class engine = random_engine<unsigned int>>
typedef boost::integer_traits<result_type> Random< int_type, distribution, engine >::result_type_traits

Definition at line 106 of file Random.h.


Constructor & Destructor Documentation

template<typename int_type , template< typename U > class distribution = boost::uniform_int, class engine = random_engine<unsigned int>>
Random< int_type, distribution, engine >::Random ( result_type  min = result_type_traits::const_min,
result_type  max = result_type_traits::const_max 
) [inline, explicit]

Definition at line 116 of file Random.h.


Member Function Documentation

template<typename int_type , template< typename U > class distribution = boost::uniform_int, class engine = random_engine<unsigned int>>
result_type Random< int_type, distribution, engine >::operator() ( ) [inline]

Definition at line 121 of file Random.h.


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

Savarese Software Research Corporation
Copyright © 2006-2011 Savarese Software Research Corporation. All rights reserved.