Access Methods
- Last UpdatedSep 16, 2022
- 1 minute read
|
Name |
Result |
Purpose |
|
.add (DBREF) |
No Result |
Adds a ADDE to the IDLIST. If there is already an ADDE of either the same element or one of its ancestors (without an intervening REME) then nothing will be done. If there is an intervening identical REME, then the REME is removed. |
|
.add (SELECTION) |
No Result |
Adds ADDEs for the entire selection set to the IDList at this point, in the same way as for individual DBREFs. |
|
.remove (DBREF) |
No Result |
If there exists an ADDE for this element in the list, then it is removed. If there exists an ADDE for an ancestor for this element, then a REME is inserted. |
|
.remove (SELECTION) |
No Result |
Removes all ADDEs defined in the selection set, using the same rules as in removing a single element. |
|
.copy(IDLIST other) |
BOOLEAN |
Clears the idlist, and adds all the entries from idlist other. Returns TRUE if copy successful. |
|
.clear() |
No Result |
Remove all elements from IDLIST. |
|
.query() |
ARRAY of STRINGS |
Returns an array of strings of the form: ADDE element or REME element Itemizing all the elements in the IDlist. |