bsHatchBlockIterator

Module: bsHatchBlockIterator

Iterator for a list of hatching blocks (bsHatchBlock).

bsHatchBlock bsHatchBlockIterator.get()

Returns the hatching block at the current iterator position.

Return

Hatching block (bsHatchBlock) at the current iterator position

Boolean bsHatchBlockIterator.head()

Sets the iterator position to the first hatching block of the list. The function can also be used to assign a valid position to an iterator with an invalid position.

Return

true if the new iterator position is valid. false if the new iterator position is invalid.

Boolean bsHatchBlockIterator.tail()

Sets the iterator position to the last hatching block of the list. The function can also be used to assign a valid position to an iterator with an invalid position.

Return

true if the new iterator position is valid. false if the new iterator position is invalid.

Boolean bsHatchBlockIterator.isValid()

Check if the iterator position is valid.

Return

true if the new iterator position is valid. false if the new iterator position is invalid.

Boolean bsHatchBlockIterator.next()

Sets the iterator position to the next hatching block. The iterator will become invalid if there is no successor.

Return

true if the new iterator position is valid. false if the new iterator position is invalid.

Boolean bsHatchBlockIterator.prev()

Sets the iterator position to the previous hatching block. The iterator will become invalid if there is no predecessor.

Return

true if the new iterator position is valid. false if the new iterator position is invalid.