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

Method VectorWrapper

src/NodeRTLib/ProjectFiles/CollectionsWrap.h:793–801  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

791
792 private:
793 VectorWrapper(
794 ::Windows::Foundation::Collections::IVector<T> ^ winRtInstance,
795 const std::function<Local<Value>(T)>& getterFunc,
796 const std::function<bool(Local<Value>)>& checkTypeFunc = nullptr,
797 const std::function<T(Local<Value>)>& convertToTypeFunc = nullptr)
798 : _instance(winRtInstance),
799 _getterFunc(getterFunc),
800 _checkTypeFunc(checkTypeFunc),
801 _convertToTypeFunc(convertToTypeFunc) {}
802
803 static void New(Nan::NAN_METHOD_ARGS_TYPE info) {
804 NodeRT::Utils::SetHiddenValue(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected