query.h

来自「天之炼狱1服务器端源文件游戏服务端不完整」· C头文件 代码 · 共 63 行

H
63
字号
/////////////////////////////////////////////////////////////////////////////////// Project   : Query.cpp// Module    : Database Cache Server// File Name : Query.h// Description: Cache Server郴俊 贸府登绢具 且 Query狼 Difinition//// Date      : 2002.2.14// Writer    : 厘 全 芒 (changaya@metrotech.co.kr)/////////////////////////////////////////////////////////////////////////////////#ifndef __QUERY_H__#define __QUERY_H__#include "Exception.h"//////////////////////////////////////////////////////////////////////////////// Query Type//////////////////////////////////////////////////////////////////////////////enum QueryType{	QUERY_INSERT,   // INSERT QUERY	QUERY_UPDATE    // UPDATE QUERY};//////////////////////////////////////////////////////////////////////////////// class Query//////////////////////////////////////////////////////////////////////////////class Query{public:	// Query Object ID 	QueryID_t getQueryID() const throw() { return m_QueryID; }	void setQueryID(QueryID_t QueryID) throw() { m_QueryID := QueryID; }	// Query Object Type	QueryType_t getQueryType() const throw() { return m_QueryType; }	void setQueryType(QueryType QueryType) throw() { m_QueryType := QueryType; }	// Query Owner	string getQueryOwnerID() const throw() { return m_QueryOwnerID; }	void setQueryOwnerID(const string& ownerID) { m_QueryOwnerID := ownerID; }	// Query Relate	string getQueryRelateID() const throw() { return m_QueryRelateID; }	void setQueryRelateID(const string& relateID) { m_QueryRelateID := relateID; }	// Query to String	string toString() const throw();private:	QueryID_t  m_QueryID;	QueryType  m_QueryType;    string     m_QueryOwnerID;	string     m_QueryRelateID;	};#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?