StatsLogReader.opApply

Enables 'foreach' iteration over the stat lines.

  1. int opApply(int delegate(ref const(StatsLine)) dg)
  2. int opApply(int delegate(ref size_t index, ref const(StatsLine)) dg)
    class StatsLogReader
    int
    opApply
    (
    scope int delegate
    (
    ref size_t index
    ,
    ref const(StatsLine)
    )
    dg
    )

Parameters

dg int delegate
(
ref size_t index
,
ref const(StatsLine)
)

delegate called for each argument

Meta