CfNodeRef.opApply

int opApply(scope int delegate(CfNodeRef) @safe dg) @safe

Enables foreach iteration over array elements.

Parameters

dgDelegate to call for each element

Returns

The result of the delegate, or 0 if iteration completed.
int opApply(scope int delegate(string, CfNodeRef) @safe dg) @safe

Enables foreach iteration over object members as key-value pairs.

Parameters

dgDelegate to call for each member

Returns

The result of the delegate, or 0 if iteration completed.