Drag[en]gine Script Module DragonScript
1.23
|
Ordered list of unique StringID. More...
Public Member Functions | |
void | add (StringID id) |
Add ID to list. More... | |
void | addAll (StringIDList list) |
Add all IDs to list. More... | |
void | addAllIfAbsent (StringIDList list) |
Add all absent IDs to list . More... | |
void | addIfAbsent (StringID id) |
Add ID to list if absent. More... | |
void | forEach (Block ablock) |
Visit IDs with block with parameter StringID. More... | |
StringID | getAt (int index) |
ID at index. More... | |
int | getCount () |
Number of IDs. More... | |
bool | has (StringID id) |
ID is present. More... | |
bool | hasAll (StringIDList list) |
All IDs are present. More... | |
bool | hasAny (StringIDList list) |
One or more IDs are present. More... | |
bool | hasNone (StringIDList list) |
All IDs are absent. More... | |
bool | hasNot (StringIDList list) |
One or more IDs are absent. More... | |
StringIDList | new () |
Create list. More... | |
StringIDList | new (StringIDList list) |
Create copy of list. More... | |
void | remove (StringID id) |
Remove ID. More... | |
void | removeAll () |
Remove all IDs. More... | |
void | removeAll (StringIDList list) |
Remove all IDs from list. More... | |
void | removeAllIfPresent (StringIDList list) |
Remove present IDs from list. More... | |
void | removeIfPresent (StringID id) |
Remove ID if present. More... | |
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.