@foreach


Description:

[ Version ( since = "1.6" ) ]
public bool @foreach (CapsForeachFunc func)

Calls the provided function once for each structure and caps feature in the Caps.

The function must not modify the fields. Also see map_in_place and filter_and_map_in_place.

Parameters:

this

a Caps

func

a function to call for each field

user_data

private data

Returns:

true if the supplied function returns true for each call, false otherwise.