MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / forEach

Method forEach

source/core/StarSpatialHash2D.hpp:173–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171template <typename KeyT, typename ScalarT, typename ValueT, typename IntT, size_t AllocatorBlockSize>
172template <typename Function>
173void SpatialHash2D<KeyT, ScalarT, ValueT, IntT, AllocatorBlockSize>::forEach(Rect const& rect, Function&& function) const {
174 return forEach(initializer_list<Rect>{rect}, forward<Function>(function));
175}
176
177template <typename KeyT, typename ScalarT, typename ValueT, typename IntT, size_t AllocatorBlockSize>
178template <typename RectCollection, typename Function>

Callers

nothing calls this directly

Calls 10

xMinMethod · 0.80
xMaxMethod · 0.80
yMinMethod · 0.80
yMaxMethod · 0.80
sortFunction · 0.70
isNullMethod · 0.45
findMethod · 0.45
endMethod · 0.45
intersectsMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected