neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neolib::random_traversal Class Reference

#include <random.hpp>

Public Types

typedef unsigned int value_type
 

Public Member Functions

 random_traversal (random &aRandom, value_type aNumElements)
 
bool done () const
 
unsigned int percent () const
 
int next ()
 
int operator() ()
 
void reset ()
 
random_traversaloperator= (const random_traversal &aOther)
 

Detailed Description

Definition at line 222 of file random.hpp.

Member Typedef Documentation

◆ value_type

Constructor & Destructor Documentation

◆ random_traversal()

neolib::random_traversal::random_traversal ( random aRandom,
value_type  aNumElements 
)
inline

Definition at line 229 of file random.hpp.

Member Function Documentation

◆ done()

bool neolib::random_traversal::done ( ) const
inline

Definition at line 235 of file random.hpp.

◆ next()

int neolib::random_traversal::next ( )
inline

Definition at line 237 of file random.hpp.

◆ operator()()

int neolib::random_traversal::operator() ( )
inline

Definition at line 257 of file random.hpp.

◆ operator=()

random_traversal & neolib::random_traversal::operator= ( const random_traversal aOther)
inline

Definition at line 274 of file random.hpp.

◆ percent()

unsigned int neolib::random_traversal::percent ( ) const
inline

Definition at line 236 of file random.hpp.

◆ reset()

void neolib::random_traversal::reset ( )
inline

Definition at line 258 of file random.hpp.


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