Savarese Software Research Corporation
random_device Class Reference

#include <Random.h>

List of all members.

Public Member Functions

 random_device (const std::string &device_file="/dev/urandom") SSRC_DECL_THROW(std
 ~random_device ()
template<typename result_type >
void read (result_type &result) const SSRC_DECL_THROW(std

Detailed Description

Definition at line 41 of file Random.h.

Constructor & Destructor Documentation

random_device::random_device ( const std::string device_file = "/dev/urandom") [inline, explicit]

Definition at line 45 of file Random.h.

Definition at line 53 of file Random.h.

Member Function Documentation

template<typename result_type >
void random_device::read ( result_type &  result) const [inline]

Definition at line 58 of file Random.h.

Referenced by random_engine< IntType >::operator()().

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.