Ordered list of unique StringID.
More...
Ordered list of unique StringID.
◆ add()
| void Dragengine.Utils.StringIDList.add |
( |
StringID | id | ) |
|
Add ID to list.
- Exceptions
-
| EInvalidParam | ID is null. |
| EInvalidParam | ID is present. |
References hasNot().
Referenced by removeIfPresent().
◆ addAll()
| void Dragengine.Utils.StringIDList.addAll |
( |
StringIDList | list | ) |
|
Add all IDs to list.
- Exceptions
-
| EInvalidParam | One or more IDs are present. |
References hasNone().
Referenced by forEach().
◆ addAllIfAbsent()
| void Dragengine.Utils.StringIDList.addAllIfAbsent |
( |
StringIDList | list | ) |
|
Add all absent IDs to list .
Referenced by forEach().
◆ addIfAbsent()
| void Dragengine.Utils.StringIDList.addIfAbsent |
( |
StringID | id | ) |
|
Add ID to list if absent.
- Exceptions
-
Referenced by removeAll().
◆ forEach()
| void Dragengine.Utils.StringIDList.forEach |
( |
Block | ablock | ) |
|
◆ getAt()
| StringID Dragengine.Utils.StringIDList.getAt |
( |
int | index | ) |
|
◆ getCount()
| int Dragengine.Utils.StringIDList.getCount |
( |
| ) |
|
Number of IDs.
Referenced by getAt().
◆ has()
| bool Dragengine.Utils.StringIDList.has |
( |
StringID | id | ) |
|
◆ hasAll()
| bool Dragengine.Utils.StringIDList.hasAll |
( |
StringIDList | list | ) |
|
All IDs are present.
If list is empty returns true.
References hasAny().
Referenced by hasNone().
◆ hasAny()
| bool Dragengine.Utils.StringIDList.hasAny |
( |
StringIDList | list | ) |
|
One or more IDs are present.
If list is empty returns false.
References has().
Referenced by forEach(), and hasAll().
◆ hasNone()
| bool Dragengine.Utils.StringIDList.hasNone |
( |
StringIDList | list | ) |
|
All IDs are absent.
If list is empty returns true.
References hasAll().
Referenced by addAll().
◆ hasNot()
| bool Dragengine.Utils.StringIDList.hasNot |
( |
StringIDList | list | ) |
|
One or more IDs are absent.
If list is empty returns false.
Referenced by add(), and forEach().
◆ new() [1/2]
Create list.
References new().
Referenced by new().
◆ new() [2/2]
◆ remove()
| void Dragengine.Utils.StringIDList.remove |
( |
StringID | id | ) |
|
Remove ID.
- Exceptions
-
| EInvalidParam | ID is absent. |
◆ removeAll() [1/2]
| void Dragengine.Utils.StringIDList.removeAll |
( |
| ) |
|
◆ removeAll() [2/2]
| void Dragengine.Utils.StringIDList.removeAll |
( |
StringIDList | list | ) |
|
Remove all IDs from list.
- Exceptions
-
| EInvalidParam | One or more IDs are absent. |
References addIfAbsent().
◆ removeAllIfPresent()
| void Dragengine.Utils.StringIDList.removeAllIfPresent |
( |
StringIDList | list | ) |
|
Remove present IDs from list.
Referenced by forEach().
◆ removeIfPresent()
| void Dragengine.Utils.StringIDList.removeIfPresent |
( |
StringID | id | ) |
|
The documentation for this class was generated from the following file: