Lines Matching refs:BaseContext

25 BaseContext::BaseContext(napi_env env, EventManager *manager)
43 BaseContext::BaseContext(napi_env env, const std::shared_ptr<EventManager> &sharedManager)
62 BaseContext::~BaseContext()
69 void BaseContext::SetParseOK(bool parseOK)
74 void BaseContext::SetExecOK(bool requestOK)
79 void BaseContext::SetErrorCode(int32_t errorCode)
84 void BaseContext::SetError(int32_t errorCode, const std::string &errorMessage)
90 napi_status BaseContext::SetCallback(napi_value callback)
103 void BaseContext::DeleteCallback()
113 napi_async_work BaseContext::GetAsyncWork()
118 void BaseContext::CreateAsyncWork(const std::string &name, AsyncWorkExecutor executor, AsyncWorkCallback callback)
133 void BaseContext::DeleteAsyncWork()
141 napi_value BaseContext::CreatePromise()
153 void BaseContext::DeletePromise()
162 bool BaseContext::IsParseOK() const
167 bool BaseContext::IsExecOK() const
172 napi_env BaseContext::GetEnv() const
177 int32_t BaseContext::GetErrorCode() const
182 std::string BaseContext::GetErrorMessage() const
187 napi_value BaseContext::GetCallback() const
198 napi_deferred BaseContext::GetDeferred() const
203 const std::string &BaseContext::GetAsyncWorkName() const
208 void BaseContext::EmitSharedManager(const std::string &type, const std::pair<napi_value, napi_value> &argv)
215 void BaseContext::Emit(const std::string &type, const std::pair<napi_value, napi_value> &argv)
222 void BaseContext::SetNeedPromise(bool needPromise)
227 bool BaseContext::IsNeedPromise() const
232 EventManager *BaseContext::GetManager() const
237 std::shared_ptr<EventManager> BaseContext::GetSharedManager() const
242 void BaseContext::SetSharedManager(const std::shared_ptr<EventManager> &sharedManager)
247 void BaseContext::ParseParams(napi_value *params, size_t paramsCount)
264 void BaseContext::SetNeedThrowException(bool needThrowException)
269 bool BaseContext::IsNeedThrowException() const
274 void BaseContext::SetPermissionDenied(bool permissionDenied)
279 bool BaseContext::IsPermissionDenied() const
284 void BaseContext::SetNoAllowedHost(bool noAllowed)
289 bool BaseContext::IsNoAllowedHost() const
294 void BaseContext::CreateReference(napi_value value)
301 void BaseContext::DeleteReference()