MCPcopy Create free account
hub / github.com/NodeRT/NodeRT / MapViewWrapper

Method MapViewWrapper

src/NodeRTLib/ProjectFiles/CollectionsWrap.h:1436–1446  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1434
1435 private:
1436 MapViewWrapper(::Windows::Foundation::Collections::IMapView<K, V> ^
1437 winRtInstance,
1438 const std::function<Local<Value>(K)>& keyGetterFunc,
1439 const std::function<bool(Local<Value>)>& checkKeyTypeFunc,
1440 const std::function<K(Local<Value>)>& convertToKeyTypeFunc,
1441 const std::function<Local<Value>(V)>& valueGetterFunc)
1442 : _instance(winRtInstance),
1443 _keyGetterFunc(keyGetterFunc),
1444 _checkKeyTypeFunc(checkKeyTypeFunc),
1445 _convertToKeyTypeFunc(convertToKeyTypeFunc),
1446 _valueGetterFunc(valueGetterFunc) {}
1447
1448 static void New(Nan::NAN_METHOD_ARGS_TYPE info) {
1449 NodeRT::Utils::SetHiddenValue(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected