SST/macro
Public Member Functions | Private Attributes | List of all members
RNG::UniformInteger_functor Class Reference

Converts a shared* to a RNG to a functor. More...

#include <rng.h>

Collaboration diagram for RNG::UniformInteger_functor:
Collaboration graph

Public Member Functions

 UniformInteger_functor (UniformInteger *p)
 
rngint_t operator() ()
 
rngint_t operator() (rngint_t range)
 

Private Attributes

UniformIntegerp_
 

Detailed Description

Converts a shared* to a RNG to a functor.

Definition at line 533 of file rng.h.

Constructor & Destructor Documentation

RNG::UniformInteger_functor::UniformInteger_functor ( UniformInteger p)
inline

Definition at line 538 of file rng.h.

Member Function Documentation

rngint_t RNG::UniformInteger_functor::operator() ( )
inline

Definition at line 543 of file rng.h.

References RNG::UniformInteger::value().

Here is the call graph for this function:

rngint_t RNG::UniformInteger_functor::operator() ( rngint_t  range)
inline

Definition at line 548 of file rng.h.

References RNG::UniformInteger::value_in_range().

Here is the call graph for this function:

Member Data Documentation

UniformInteger* RNG::UniformInteger_functor::p_
private

Definition at line 535 of file rng.h.


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