TOlf Random IDGenerator Class
Unit: Olf.RTL.GenRandomID
Top
System.TObject
Olf.RTL.GenRandomID.TOlfRandomIDGenerator
Olf.RTL.GenRandomID.TOlfRandomIDGenerator
The TOlfRandomIDGenerator type exposes the following members.
Show:
Name | Description | |
---|---|---|
![]() ![]() | SetDefaultSize | Set the default size used by other methods of this class when no size is given when generating an ID. |
![]() ![]() | getID | Generate a string composed by a random list of chars (0..9 -> numbers, 0..35 -> numbers + lowercased letters ('a'-'z'), 0 ..61 -> numbers and letters ('a'-'z' and 'A'-'Z') |
![]() ![]() | getIDBase10 | Generate a string with random numbers between '0' and '9' |
![]() ![]() | getIDBase2 | Generate a string with random numbers between '0' and '1' |
![]() ![]() | getIDBase36 | Generate a string with random numbers between '0' and '9' or letters between 'a' and 'z' |
![]() ![]() | getIDBase62 | Generate a string with random numbers between '0' and '9' or letters between 'a' and 'z' or 'A' and 'Z' |