Open CASCADE Technology 6.5.2
Public Member Functions
math_IntegerRandom Class Reference

This class implements an integer random number generator.

#include <math_IntegerRandom.hxx>

Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
 math_IntegerRandom (const Standard_Integer Lower, const Standard_Integer Upper)
 creates a Integer random generator between the values Lower and Upper.

void Reset ()
 reinitializes the random generator

Standard_Integer Next ()
 returns the next random number.


Constructor & Destructor Documentation

math_IntegerRandom::math_IntegerRandom ( const Standard_Integer  Lower,
const Standard_Integer  Upper 
)

Member Function Documentation

Standard_Integer math_IntegerRandom::Next ( )
void math_IntegerRandom::operator delete ( void *  anAddress) [inline]
void* math_IntegerRandom::operator new ( size_t  size) [inline]
void* math_IntegerRandom::operator new ( size_t  ,
void *  anAddress 
) [inline]
void math_IntegerRandom::Reset ( )

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines