MCPcopy Create free account
hub / github.com/HaxeFoundation/hxcpp / DynamicIterator

Function DynamicIterator

include/cpp/FastIterator.h:44–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42 Dynamic mHasNext;
43
44 DynamicIterator(Dynamic inValue)
45 {
46 mNext = inValue->__Field(HX_CSTRING("next"), HX_PROP_ALWAYS);
47 mHasNext = inValue->__Field(HX_CSTRING("hasNext"), HX_PROP_ALWAYS);
48 }
49
50 bool hasNext() { return mHasNext(); }
51 T next() { return mNext(); }

Callers

nothing calls this directly

Calls 1

__FieldMethod · 0.45

Tested by

no test coverage detected