You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
-164Lines changed: 0 additions & 164 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,167 +16,3 @@ EndFunc
16
16
17
17
MsgBox(0, "", $myCar.DisplayCar)
18
18
```
19
-
20
-
## **TODO:**
21
-
*~Garbage collection~**_Added in v1.0.3 with the exception of interface methods_**
22
-
*~Method support~**_Added in v0.1.2_**
23
-
*~Support for more/all AutoIt variable-types~**_Added in v1.0.0_**
24
-
*~Accessors~**_Added in v0.1.0_**
25
-
* Inheritance
26
-
*~equivalent of @error and @extended~**_Added in v1.0.0_**
27
-
28
-
29
-
## **Methods:**
30
-
31
-
### __defineGetter
32
-
33
-
#### **Syntax**
34
-
35
-
__defineGetter("property", Function)
36
-
37
-
#### **Description:**
38
-
39
-
set the get-accessor
40
-
41
-
#### **Parameters:**
42
-
43
-
Type | Name | description
44
-
--- | --- | ---
45
-
String | "property" | The property to set the get accessor
46
-
Function | Function | Function to be called when getting the property value
47
-
48
-
### __defineSetter
49
-
50
-
#### **Syntax**
51
-
52
-
__defineSetter("property", Function)
53
-
54
-
#### **Description:**
55
-
56
-
set the set-accessor
57
-
58
-
#### **Parameters:**
59
-
60
-
Type | Name | description
61
-
--- | --- | ---
62
-
String | "property" | The property to set the get accessor
63
-
Function | Function | Function to be called when setting the property value
64
-
65
-
### __keys
66
-
67
-
#### **Syntax**
68
-
69
-
__keys()
70
-
71
-
#### **Description:**
72
-
73
-
get all property names defined in object
74
-
75
-
#### **Parameters:**
76
-
77
-
Type | Name | description
78
-
--- | --- | ---
79
-
80
-
### __unset
81
-
82
-
#### **Syntax**
83
-
84
-
__unset("property")
85
-
86
-
#### **Description:**
87
-
88
-
delete a property from the object
89
-
90
-
#### **Parameters:**
91
-
92
-
Type | Name | description
93
-
--- | --- | ---
94
-
String | "property" | The property to delete
95
-
96
-
### __lock
97
-
98
-
#### **Syntax**
99
-
100
-
__lock()
101
-
102
-
#### **Description:**
103
-
104
-
prevents creation/changing of any properties, except values in already defined properties. To prevent value change of a property, use `__defineSetter`
105
-
106
-
#### **Parameters:**
107
-
108
-
Type | Name | description
109
-
--- | --- | ---
110
-
111
-
### __destructor
112
-
113
-
#### **Syntax**
114
-
115
-
__destructor(DestructorFunction)
116
-
117
-
#### **Description:**
118
-
119
-
DestructorFunction is called when the lifetime of the object ends
120
-
121
-
Type | Name | description
122
-
--- | --- | ---
123
-
Function | DestructorFunction | Function to be called when lifetime of the object ends
124
-
125
-
## **Other**
126
-
127
-
### Function
128
-
129
-
#### **Syntax**
130
-
131
-
Function([AccessorObject])
132
-
133
-
#### **Description:**
134
-
135
-
The callback function used with accessors
136
-
Function is a placeholder for the application-defined function name
137
-
138
-
#### **Parameters:**
139
-
140
-
Type | Name | description
141
-
--- | --- | ---
142
-
IDispatch | AccessorObject | A IDispatch object used to access passed data and self
143
-
144
-
### AccessorObject
145
-
146
-
#### **Description:**
147
-
148
-
A locked IDispatch object, used with Accessor callback Function
149
-
150
-
#### **Properties:**
151
-
152
-
Type | Name | description | Access
153
-
--- | --- | --- | ---
154
-
IDispatch | parent | The IDispatch object containing the accessor.<br/>**WARNING:** accessing other properties via this object will still trigger accessors. Be careful | Read only
155
-
IDispatch | arguments | A locked IDispatch object.<br />For more info, see ArgumentsObject
156
-
*Any* | ret | The value passed in the set-accessor. This is not used by the get-accessor | Read and Write
157
-
*Any* | val | The value of the property the accessor is bound to | Read and Write
158
-
159
-
### ArgumentsObject
160
-
161
-
#### **Description:**
162
-
163
-
A locked IDispatch object, used with the AccessorObject
164
-
165
-
#### **Properties:**
166
-
167
-
Type | Name | description | Access
168
-
--- | --- | --- | ---
169
-
int32 | length | number of arguments passed with the call | Read and Write
170
-
Array | values | the arguments passed with the call | Read and Write
171
-
172
-
### DestructorFunction([self])
173
-
174
-
#### **Description:**
175
-
176
-
the callback function used with destructors
177
-
178
-
#### **Parameters:**
179
-
180
-
Type | Name | description
181
-
--- | --- | ---
182
-
IDispatch | self | The IDispatch object containing the destructor
0 commit comments