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

#include <OdRandom.h>

Inheritance diagram for OdRandomGen:
OdRandomGenMinstd

Public Member Functions

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> Base class for pseudorandom data generators.

Remarks
Do NOT use it directly, use OdRandom instead.

Definition at line 34 of file OdRandom.h.

Constructor & Destructor Documentation

◆ ~OdRandomGen()

virtual OdRandomGen::~OdRandomGen ( )
virtual

Member Function Documentation

◆ clone()

virtual OdRandomGen * OdRandomGen::clone ( )
pure virtual

Implemented in OdRandomGenMinstd.

◆ generate()

virtual OdUInt32 OdRandomGen::generate ( )
pure virtual

Implemented in OdRandomGenMinstd.

◆ getRange()

virtual void OdRandomGen::getRange ( OdUInt32 high) const
pure virtual

Implemented in OdRandomGenMinstd.

◆ getSeed()

virtual OdUInt32 OdRandomGen::getSeed ( ) const
pure virtual

Implemented in OdRandomGenMinstd.

◆ setSeed()

virtual void OdRandomGen::setSeed ( OdUInt32  seed)
pure virtual

Implemented in OdRandomGenMinstd.


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