FLImaging
7.11.27.4
Toggle main menu visibility
FLImagingBase
FLImagingBase
FLImagingBase/RandomGenerator.h
1
#pragma once
2
10
11
#include "FLBase.h"
12
#include "FLArray.h"
13
15
namespace
FLImaging
16
{
18
namespace
Base
19
{
27
class
FL_EXPORT
CRandomGenerator
:
public
CFLBase
28
{
29
protected
:
37
CRandomGenerator
();
38
39
public
:
40
54
static
int32_t
Int32
(int32_t i32RangeStart = 0x80000000, int32_t i32RangeEnd = 0x7fffffff);
55
69
static
uint32_t
UInt32
(uint32_t u32RangeStart = 0, uint32_t u32RangeEnd = 0xffffffff);
70
84
static
int64_t
Int64
(int64_t i64RangeStart = 0x8000000000000000ull, int64_t i64RangeEnd = 0x7fffffffffffffffull);
85
99
static
uint64_t
UInt64
(uint64_t u64RangeStart = 0, uint64_t u64RangeEnd = 0xffffffffffffffffull);
100
114
static
float
Float
(
float
f32RangeStart = 0.f,
float
f32RangeEnd = 1.f);
115
129
static
double
Double
(
double
f64RangeStart = 0.,
double
f64RangeEnd = 1.);
130
131
149
static
const
CResult
GenerateNoConflictRandom
(
const
uint32_t u32Count,
CFLArray<uint32_t>
& flaResult, uint32_t u32Seed = 0);
150
151
DeclareGetClassType();
152
};
153
}
154
}
155
FLImaging::Base::CFLArray
Template type 의 배열 클래스.
Definition
FLArray.h:71
FLImaging::Base::CFLBase::CFLBase
CFLBase()
기본 생성자
FLImaging::Base::CRandomGenerator::Float
static float Float(float f32RangeStart=0.f, float f32RangeEnd=1.f)
32bit 부동소수점 타입의 메르센 트위스터 난수를 발생
FLImaging::Base::CRandomGenerator::Double
static double Double(double f64RangeStart=0., double f64RangeEnd=1.)
64bit 부동소수점 타입의 메르센 트위스터 난수를 발생
FLImaging::Base::CRandomGenerator::UInt32
static uint32_t UInt32(uint32_t u32RangeStart=0, uint32_t u32RangeEnd=0xffffffff)
32bit 부호 없는 정수 타입의 메르센 트위스터 난수를 발생
FLImaging::Base::CRandomGenerator::GenerateNoConflictRandom
static const CResult GenerateNoConflictRandom(const uint32_t u32Count, CFLArray< uint32_t > &flaResult, uint32_t u32Seed=0)
중복되지 않는 난수를 생성합니다.
FLImaging::Base::CRandomGenerator::Int64
static int64_t Int64(int64_t i64RangeStart=0x8000000000000000ull, int64_t i64RangeEnd=0x7fffffffffffffffull)
64bit 정수 타입의 메르센 트위스터 난수를 발생
FLImaging::Base::CRandomGenerator::CRandomGenerator
CRandomGenerator()
생성자
FLImaging::Base::CRandomGenerator::UInt64
static uint64_t UInt64(uint64_t u64RangeStart=0, uint64_t u64RangeEnd=0xffffffffffffffffull)
64bit 부호 없는 정수 타입의 메르센 트위스터 난수를 발생
FLImaging::Base::CRandomGenerator::Int32
static int32_t Int32(int32_t i32RangeStart=0x80000000, int32_t i32RangeEnd=0x7fffffff)
32bit 정수 타입의 메르센 트위스터 난수를 발생
FLImaging::CResult
FLImaging 모듈의 수행 결과 객체
Definition
FLImagingBase/ResultsDef.h:1739
FLImaging::Base
Definition
FLImagingBase/AESCryptography.h:18
FLImaging
생성시간 :
, 프로젝트명 : FLImaging, 생성자 :
1.17.0