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

Method MapWrapper

src/NodeRTLib/ProjectFiles/CollectionsWrap.h:1709–1722  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1707
1708 private:
1709 MapWrapper(::Windows::Foundation::Collections::IMap<K, V> ^ winRtInstance,
1710 const std::function<Local<Value>(K)>& keyGetterFunc,
1711 const std::function<bool(Local<Value>)>& checkKeyTypeFunc,
1712 const std::function<K(Local<Value>)>& convertToKeyTypeFunc,
1713 const std::function<Local<Value>(V)>& valueGetterFunc,
1714 const std::function<bool(Local<Value>)>& checkValueTypeFunc,
1715 const std::function<V(Local<Value>)>& convertToValueTypeFunc)
1716 : _instance(winRtInstance),
1717 _keyGetterFunc(keyGetterFunc),
1718 _checkKeyTypeFunc(checkKeyTypeFunc),
1719 _convertToKeyTypeFunc(convertToKeyTypeFunc),
1720 _valueGetterFunc(valueGetterFunc),
1721 _checkValueTypeFunc(checkValueTypeFunc),
1722 _convertToValueTypeFunc(convertToValueTypeFunc) {}
1723
1724 static void New(Nan::NAN_METHOD_ARGS_TYPE info) {
1725 NodeRT::Utils::SetHiddenValue(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected