WsfLocalTrackList¶
-
WsfLocalTrackListContainer
WsfLocalTrackList is a container of references to WsfLocalTrack objects, and is typically returned by:
WsfLocalTrackList tl = PLATFORM.MasterTrackList();
In addition to the methods described below, the container may be processed using the foreach script language statement as follows:
WsfLocalTrackList localTrackList = <method that returns a WsfLocalTrackList>; foreach (WsfLocalTrack t in localTrackList) { # ...Code to process the WsfLocalTrack object referenced through the variable 't'... }
Methods¶
- bool Empty()¶
Returns true if the list is empty.
Note
This is faster than checking for Count() != 0.
- WsfLocalTrack Entry(int aIndex)¶
- WsfLocalTrack Get(int aIndex)¶
Return the entry at the given index. The value must be in the range [ 0 .. Count()-1 ].
Note
The Get method allows the entries to be accessed via array indexing: e.g:
WsfLocalTrack t = trackList[i];
- WsfLocalTrack Find(WsfTrackId aTrackId)¶
Find the entry with specified track ID. Using the IsValid() method on the return value will return false if the requested entry could not be found.