TrinityCore
Loading...
Searching...
No Matches
SFMTRand Class Reference

#include <SFMTRand.h>

Public Member Functions

 SFMTRand () noexcept
 
uint32 RandomUInt32 () noexcept
 
void * operator new (size_t size) noexcept
 
void operator delete (void *ptr) noexcept
 
void * operator new[] (size_t size) noexcept
 
void operator delete[] (void *ptr) noexcept
 

Private Attributes

sfmt_t _state
 

Detailed Description

Definition at line 28 of file SFMTRand.h.

Constructor & Destructor Documentation

◆ SFMTRand()

SFMTRand::SFMTRand ( )
noexcept

Definition at line 25 of file SFMTRand.cpp.

Member Function Documentation

◆ operator delete()

void SFMTRand::operator delete ( void *  ptr)
inlinenoexcept

Definition at line 33 of file SFMTRand.h.

◆ operator delete[]()

void SFMTRand::operator delete[] ( void *  ptr)
inlinenoexcept

Definition at line 35 of file SFMTRand.h.

◆ operator new()

void * SFMTRand::operator new ( size_t  size)
inlinenoexcept

Definition at line 32 of file SFMTRand.h.

◆ operator new[]()

void * SFMTRand::operator new[] ( size_t  size)
inlinenoexcept

Definition at line 34 of file SFMTRand.h.

◆ RandomUInt32()

uint32 SFMTRand::RandomUInt32 ( )
noexcept

Definition at line 39 of file SFMTRand.cpp.

Member Data Documentation

◆ _state

sfmt_t SFMTRand::_state
private

Definition at line 37 of file SFMTRand.h.


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