currentsqlcontext.h
来自「ICE-3.2 一个开源的中间件」· C头文件 代码 · 共 45 行
H
45 行
// **********************************************************************//// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved.//// This copy of Ice is licensed to you under the terms described in the// ICE_LICENSE file included in this distribution.//// **********************************************************************#ifndef CURRENT_SQL_CONTEXT_H#define CURRENT_SQL_CONTEXT_H#include <Ice/Ice.h>//// Provides a sql_context for each thread created by the communicator(s)// using the associated thread-notification object////// Note: sql_context is defined in Pro*C -generated code, so this// header can only be included in .pc files.//class CurrentSqlContext{public: CurrentSqlContext(const std::string&); // // Default copy ctor and assignment operator ok // Ice::ThreadNotificationPtr getHook() const; operator sql_context() const;private: const std::string _connectInfo; size_t _index; Ice::ThreadNotificationPtr _hook;};#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?