module:baja/ord/OrdQueryListCursor

module:baja/ord/OrdQueryListCursor

new (require("baja/ord/OrdQueryListCursor"))(list)

Description:
  • Cursor for an ORD Query List.

Source:
Extends:
Parameters:
Name Type Description
list baja.OrdQueryList

Extends

Methods

each(func)

Description:
  • Iterate through the Cursor and call a function on every item.

Source:
Overrides:
Parameters:
Name Type Description
func function

function called on every iteration with the
baja.OrdQuery being used as an argument.

get() → {baja.OrdQuery}

Description:
  • Return the current query from the Cursor.

Source:
Overrides:
Returns:
Type
baja.OrdQuery

getIndex() → {Number}

Description:
  • Return the current index for the Cursor.

Source:
Returns:
Type
Number

getOrd() → {String}

Description:
  • Return the current ORD String at the current index.

Source:
Returns:
Type
String

hasNext() → {Boolean}

Description:
  • Return true if there's another query in the Cursor.

Source:
Returns:
Type
Boolean

next() → {Boolean}

Description:
  • Advance the Cursor to the next query.

Source:
Overrides:
Returns:

true if there's another query in the Cursor.

Type
Boolean

resolveNext(target, options)

Description:
  • Resolve the next ORD Query.

Source:
Parameters:
Name Type Description
target module:baja/ord/OrdTarget
options Object