ChunkyEventList.Slice

A 'slice' of events in the chunky event list.

Produced by ChunkyEventList.slice() from SliceExtents. SliceExtents are currently generated only by ChunkyZoneGenerator, which creates exact slices for generated zones.

Unlike TimeSlice, which is a slice of all events in specified time, Slice is more precise; it starts and ends at specific events (TimeSlice includes any events in specified time, even if multiple events have occured the same time, which can cause issues with zones when a time slice for a zone includes the zone end event for the previous zone, which may have ended in the same hectonanosecond as the new zone).

Members

Functions

empty
bool empty()

Is the slice empty?

front
Event front()

Get the event on front of the slice.

popFront
void popFront()

Move to the next event.

Properties

save
Slice save [@property getter]

Get a copy of the slice in its current state.

Meta