|
Drag[en]gine Script Module DragonScript 1.32.1
|
Ordered list of unique StringID. More...
Public Member Functions | |
| void | add (StringID id) |
| Add ID to list. | |
| void | addAll (StringIDList list) |
| Add all IDs to list. | |
| void | addAllIfAbsent (StringIDList list) |
| Add all absent IDs to list . | |
| void | addIfAbsent (StringID id) |
| Add ID to list if absent. | |
| void | forEach (Block ablock) |
| Visit IDs with block with parameter StringID. | |
| StringID | getAt (int index) |
| ID at index. | |
| int | getCount () |
| Number of IDs. | |
| bool | has (StringID id) |
| ID is present. | |
| bool | hasAll (StringIDList list) |
| All IDs are present. | |
| bool | hasAny (StringIDList list) |
| One or more IDs are present. | |
| bool | hasNone (StringIDList list) |
| All IDs are absent. | |
| bool | hasNot (StringIDList list) |
| One or more IDs are absent. | |
| StringIDList | new () |
| Create list. | |
| StringIDList | new (StringIDList list) |
| Create copy of list. | |
| void | remove (StringID id) |
| Remove ID. | |
| void | removeAll () |
| Remove all IDs. | |
| void | removeAll (StringIDList list) |
| Remove all IDs from list. | |
| void | removeAllIfPresent (StringIDList list) |
| Remove present IDs from list. | |
| void | removeIfPresent (StringID id) |
| Remove ID if present. | |
Ordered list of unique StringID.
| void Dragengine.Utils.StringIDList.add | ( | StringID | id | ) |
Add ID to list.
| EInvalidParam | ID is null. |
| EInvalidParam | ID is present. |
| void Dragengine.Utils.StringIDList.addAll | ( | StringIDList | list | ) |
Add all IDs to list.
| EInvalidParam | One or more IDs are present. |
| void Dragengine.Utils.StringIDList.addAllIfAbsent | ( | StringIDList | list | ) |
Add all absent IDs to list .
| void Dragengine.Utils.StringIDList.addIfAbsent | ( | StringID | id | ) |
Add ID to list if absent.
| EInvalidParam | ID is null. |
| void Dragengine.Utils.StringIDList.forEach | ( | Block | ablock | ) |
Visit IDs with block with parameter StringID.
| StringID Dragengine.Utils.StringIDList.getAt | ( | int | index | ) |
ID at index.
| int Dragengine.Utils.StringIDList.getCount | ( | ) |
Number of IDs.
| bool Dragengine.Utils.StringIDList.has | ( | StringID | id | ) |
ID is present.
| bool Dragengine.Utils.StringIDList.hasAll | ( | StringIDList | list | ) |
All IDs are present.
If list is empty returns true.
| bool Dragengine.Utils.StringIDList.hasAny | ( | StringIDList | list | ) |
One or more IDs are present.
If list is empty returns false.
| bool Dragengine.Utils.StringIDList.hasNone | ( | StringIDList | list | ) |
All IDs are absent.
If list is empty returns true.
| bool Dragengine.Utils.StringIDList.hasNot | ( | StringIDList | list | ) |
One or more IDs are absent.
If list is empty returns false.
| StringIDList Dragengine.Utils.StringIDList.new | ( | ) |
Create list.
| StringIDList Dragengine.Utils.StringIDList.new | ( | StringIDList | list | ) |
Create copy of list.
| void Dragengine.Utils.StringIDList.remove | ( | StringID | id | ) |
Remove ID.
| EInvalidParam | ID is absent. |
| void Dragengine.Utils.StringIDList.removeAll | ( | ) |
Remove all IDs.
| void Dragengine.Utils.StringIDList.removeAll | ( | StringIDList | list | ) |
Remove all IDs from list.
| EInvalidParam | One or more IDs are absent. |
| void Dragengine.Utils.StringIDList.removeAllIfPresent | ( | StringIDList | list | ) |
Remove present IDs from list.
| void Dragengine.Utils.StringIDList.removeIfPresent | ( | StringID | id | ) |
Remove ID if present.