SourcePro® API Reference Guide

 
Loading...
Searching...
No Matches
RWRandGenBasicMLC Class Referenceabstract

Abstract base class for classes that generate random numbers uniformly distributed over the interval [0,1]. More...

#include <rw/randmlcg.h>

Inheritance diagram for RWRandGenBasicMLC:
RWRandGenMCG31M1 RWRandGenMCG59

Public Member Functions

void printOn (std::ostream &s) const
 
void restoreFrom (RWFile &file)
 
void restoreFrom (RWvistream &s)
 
void saveOn (RWFile &file) const
 
void saveOn (RWvostream &s) const
 
void scanFrom (std::istream &s)
 

Related Symbols

(Note that these are not member symbols.)

std::ostream & operator<< (std::ostream &s, const RWRandGenBasicMLC &gen)
 
std::istream & operator>> (std::istream &s, RWRandGenBasicMLC &gen)
 

Detailed Description

Abstract base class for classes that generate random numbers uniformly distributed over the interval [0, 1].

Member Function Documentation

◆ printOn()

void RWRandGenBasicMLC::printOn ( std::ostream & s) const

Outputs a summary of self's internal state on ostream s.

◆ restoreFrom() [1/2]

void RWRandGenBasicMLC::restoreFrom ( RWFile & file)

Restores internal state of self from a RWFile.

◆ restoreFrom() [2/2]

void RWRandGenBasicMLC::restoreFrom ( RWvistream & s)

Restores internal state of self from a virtual stream.

◆ saveOn() [1/2]

void RWRandGenBasicMLC::saveOn ( RWFile & file) const

Stores internal state of self a binary format to an RWFile.

◆ saveOn() [2/2]

void RWRandGenBasicMLC::saveOn ( RWvostream & s) const

Stores internal state of self to a virtual stream.

◆ scanFrom()

void RWRandGenBasicMLC::scanFrom ( std::istream & s)

Inputs an internal state from istream s to self.

Friends And Related Symbol Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream & s,
const RWRandGenBasicMLC & gen )
related

Outputs a summary of the internal state of gen on ostream s.

◆ operator>>()

std::istream & operator>> ( std::istream & s,
RWRandGenBasicMLC & gen )
related

Inputs an internal state from istream s to gen.

Copyright © 2024 Rogue Wave Software, Inc., a Perforce company. All Rights Reserved.