CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
OdRandomGenMinstd Class Reference

#include <OdRandom.h>

Inheritance diagram for OdRandomGenMinstd:
OdRandomGen

Public Member Functions

 OdRandomGenMinstd (OdUInt32 seed=1)
 
virtual ~OdRandomGenMinstd ()
 
virtual OdRandomGenMinstdclone ()
 
virtual void setSeed (OdUInt32 seed)
 
virtual OdUInt32 getSeed () const
 
virtual void getRange (OdUInt32 &high) const
 
virtual OdUInt32 generate ()
 
- Public Member Functions inherited from OdRandomGen
virtual ~OdRandomGen ()
 
virtual OdRandomGenclone ()=0
 
virtual void setSeed (OdUInt32 seed)=0
 
virtual OdUInt32 getSeed () const =0
 
virtual void getRange (OdUInt32 &high) const =0
 
virtual OdUInt32 generate ()=0
 

Detailed Description

<group Other_Classes> Default random data generator: equivalent to std::minstd_rand

Definition at line 125 of file OdRandom.h.

Constructor & Destructor Documentation

◆ OdRandomGenMinstd()

OdRandomGenMinstd::OdRandomGenMinstd ( OdUInt32  seed = 1)

◆ ~OdRandomGenMinstd()

virtual OdRandomGenMinstd::~OdRandomGenMinstd ( )
virtual

Member Function Documentation

◆ clone()

virtual OdRandomGenMinstd * OdRandomGenMinstd::clone ( )
virtual

Implements OdRandomGen.

◆ generate()

virtual OdUInt32 OdRandomGenMinstd::generate ( )
virtual

Implements OdRandomGen.

◆ getRange()

virtual void OdRandomGenMinstd::getRange ( OdUInt32 high) const
virtual

Implements OdRandomGen.

◆ getSeed()

virtual OdUInt32 OdRandomGenMinstd::getSeed ( ) const
virtual

Implements OdRandomGen.

◆ setSeed()

virtual void OdRandomGenMinstd::setSeed ( OdUInt32  seed)
virtual

Implements OdRandomGen.


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