BICO 1.1

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- Class List
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Pages
Public Member Functions | Public Attributes | Private Attributes | List of all members
RandomGenerator Class Reference

Encapsulates an STL random generator. More...

`#include <randomgenerator.h>`

Collaboration diagram for RandomGenerator:

## Public Member Functions
| RandomGenerator (std::mt19937 *generator)
result_type | operator() ()
result_type | min ()
result_type | max ()

## Public Attributes
decltype((*generator)()) typedef | result_type

## Private Attributes
std::mt19937 * | generator

## Detailed Description

Encapsulates an STL random generator.

Definition at line 7 of file randomgenerator.h.

## Constructor & Destructor Documentation

RandomGenerator::RandomGenerator | ( | std::mt19937 * | generator | ) |
| inline

Definition at line 14 of file randomgenerator.h.

## Member Function Documentation

result_type RandomGenerator::operator() | ( |  | ) |
| inline

Definition at line 19 of file randomgenerator.h.

result_type RandomGenerator::min | ( |  | ) |
| inline

Definition at line 24 of file randomgenerator.h.

result_type RandomGenerator::max | ( |  | ) |
| inline

Definition at line 29 of file randomgenerator.h.

## Member Data Documentation

std::mt19937* RandomGenerator::generator
| private

Definition at line 10 of file randomgenerator.h.

decltype((*generator)()) typedef RandomGenerator::result_type

Definition at line 12 of file randomgenerator.h.

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

- src/misc/randomgenerator.h