Roxmllist – BrightSign Object Reference Manual (FW 5.1) User Manual

Page 44

Advertising
background image

36

roXMLList


Interfaces:

ifList

,

ifEnum

,

ifArray

,

ifArrayGet

,

ifArraySet

,

ifXMLList


The ifList interface provides the following:

GetHead() As Dynamic: Retrieves the entry at the head of the list and keeps the entry in the list.

GetTail() As Dynamic: Retrieves the entry at the tail of the list and keeps the entry in the list.

RemoveHead() As Dynamic: Removes the entry at the head of the list.

RemoveTail() As Dynamic: Removes the entry at the tail of the list.

GetIndex() As Dynamic: Retrieves an entry from the list at the current index or position and increments the
index or position in the list. It returns Invalid when the end of the list is reached.

RemoveIndex() As Dynamic: Removes an entry from the list at the current index or position and increments
the index or position in the list. It returns Invalid when the end of the list is reached.

AddHead(a As Dynamic): Adds a typed value to the head of the list.

AddTail(a As Dynamic): Adds a typed value to the tail of the list.

ResetIndex() As Boolean: Resets the current index or position in the list to the head element.

Count() As Integer: Returns the number of elements in the list.

Clear(): Removes all elements from the list.

The ifEnum interface provides the following:

Reset(): Resets the position to the first element of enumeration.

Next() As Dynamic: Returns the typed value at the current position and increment position.

IsNext() As Boolean: Returns True if there is a next element.

IsEmpty() As Boolean: Returns True if there is not a next element.

Advertising