-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclasses.xml
More file actions
67 lines (67 loc) · 1.99 KB
/
classes.xml
File metadata and controls
67 lines (67 loc) · 1.99 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<?xml version="1.0" encoding="UTF-8" ?>
<doc version="3.0.alpha.custom_build" name="Engine Types">
<class name="Sole" inherits="Reference" category="Core">
<brief_description>
Sole provides interface to create UUID versions 0, 1 and 4.
</brief_description>
<description>
Use v1 if you are worried about leaving it up to probabilities.
Use v4 if you are worried about security issues and determinism.
UUID version 0 (16-bit PID + 48-bit MAC address + 60-bit clock with a resolution of 100ns since Unix epoch)
Format is EPOCH_LOW-EPOCH_MID-VERSION(0)|EPOCH_HI-PID-MAC
</description>
<methods>
<method name="base62" qualifiers="const">
<return type="String">
</return>
<description>
Create a cooked base62 string
</description>
</method>
<method name="get_version" qualifiers="const">
<return type="int" enum="Sole.UUID_VERSION">
</return>
<description>
</description>
</method>
<method name="pretty" qualifiers="const">
<return type="String">
</return>
<description>
Create a pretty decomposed report
</description>
</method>
<method name="set_version">
<return type="void">
</return>
<argument index="0" name="version" type="int" enum="Sole.UUID_VERSION">
</argument>
<description>
</description>
</method>
<method name="uuid" qualifiers="const">
<return type="String">
</return>
<description>
Creates an UUID
</description>
</method>
</methods>
<members>
<member name="version" type="int" setter="set_version" getter="get_version" brief="" enum="Sole.UUID_VERSION">
The version of the uuid generator
</member>
</members>
<constants>
<constant name="VERSION_0" value="0">
UUID v0, pro: unique; cons: MAC revealed, pid revealed, predictable.
</constant>
<constant name="VERSION_1" value="1">
UUID v1, pro: unique; cons: MAC revealed, predictable.
</constant>
<constant name="VERSION_4" value="2">
UUID v4, pros: anonymous, fast; con: uuids "can clash"
</constant>
</constants>
</class>
</doc>