|
Open CASCADE Technology 6.5.2
|
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. | |
| math_IntegerRandom::math_IntegerRandom | ( | const Standard_Integer | Lower, |
| const Standard_Integer | Upper | ||
| ) |
| 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 | ( | ) |
1.7.4