WsfPlatformList¶
-
WsfPlatformListContainer
WsfPlatformList is a container of references to WsfPlatform objects. Platform lists are returned by many script types including:
In addition to the methods described below, the container may be processed using the foreach script language statement as follows:
WsfPlatformList platformList = <a method that returns a WsfPlatformList>; foreach (WsfPlatform p in platformList) { # ...Code to process the WsfPlatform object referenced through the variable 'p'... }
Methods¶
- bool Empty()¶
Returns true if the list is empty.
Note
This is faster than checking for Count() != 0.
- WsfPlatform Entry(int aIndex)¶
- WsfPlatform Get(int aIndex)¶
Returns the entry at the given index, which must be in the range [ 0 .. Count()-1 ].
Note
The Get method allows the entries to be accessed via array indexing: e.g:
WsfPlatform p = platformList[i];
Military Specific¶
WsfPlatformList is a container of references to WsfPlatform objects. Platform lists are returned by many script types including: