Class TOlfRandomIDGenerator
Unit
Declaration
type TOlfRandomIDGenerator = class(TObject)
Description
Hierarchy
- TObject
- TOlfRandomIDGenerator
Overview
Methods
![]() |
class function getID(Const Base: Byte; Const ASize: cardinal = 0): string; |
![]() |
class function getIDBase2(Const Size: cardinal = 0): string; |
![]() |
class function getIDBase10(Const Size: cardinal = 0): string; |
![]() |
class function getIDBase36(Const Size: cardinal = 0): string; |
![]() |
class function getIDBase62(Const Size: cardinal = 0): string; |
![]() |
class procedure SetDefaultSize(Const Size: cardinal); |
Description
Methods
![]() |
class function getIDBase2(Const Size: cardinal = 0): string; |
Generate a string with random numbers between '0' and '1' |
![]() |
class function getIDBase10(Const Size: cardinal = 0): string; |
Generate a string with random numbers between '0' and '9' |
![]() |
class function getIDBase36(Const Size: cardinal = 0): string; |
Generate a string with random numbers between '0' and '9' or letters between 'a' and 'z' |
![]() |
class function getIDBase62(Const Size: cardinal = 0): string; |
Generate a string with random numbers between '0' and '9' or letters between 'a' and 'z' or 'A' and 'Z' |
![]() |
class procedure SetDefaultSize(Const Size: cardinal); |
Set the default size used by other methods of this class when no size is given when generating an ID. |
Generated by PasDoc 0.16.0.