Searched refs:nwebValue (Results 1 – 3 of 3) sorted by relevance
52 std::shared_ptr<NWebValue> nwebValue = std::make_shared<NWebValue>(NWebValue::Type::NONE); variable53 NWebValue::Type type = nwebValue->GetType();56 nwebValue->SetType(NWebValue::Type::BOOLEAN);57 nwebValue->SetBoolean(true);59 bool value = nwebValue->GetBoolean();60 type = nwebValue->GetType();64 nwebValue->SetBoolean(false);65 value = nwebValue->GetBoolean();78 std::shared_ptr<NWebValue> nwebValue = std::make_shared<NWebValue>(NWebValue::Type::NONE); variable79 nwebValue->SetType(NWebValue::Type::STRING);[all …]
206 std::shared_ptr<NWebValue> nwebValue) in ParseNapiValue2NwebValue() argument215 nwebValue->SetType(NWebValue::Type::DOUBLE); in ParseNapiValue2NwebValue()216 nwebValue->SetDouble(douVal); in ParseNapiValue2NwebValue()222 nwebValue->SetType(NWebValue::Type::BOOLEAN); in ParseNapiValue2NwebValue()223 nwebValue->SetBoolean(boolVal); in ParseNapiValue2NwebValue()231 nwebValue->SetType(NWebValue::Type::STRING); in ParseNapiValue2NwebValue()232 nwebValue->SetString(strVal); in ParseNapiValue2NwebValue()
57 …oid ParseNapiValue2NwebValue(napi_env env, napi_value value, std::shared_ptr<NWebValue> nwebValue);