Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
S3PTableDAO.h
Package: SwordOnline.rar [view]
Upload User: dzyhzl
Upload Date: 2019-04-29
Package Size: 56270k
Code Size: 1k
Category:
Game Server Simulator
Development Platform:
C/C++
- // S3PTableDAO.h: interface for the S3PTableDAO class.
- //
- //////////////////////////////////////////////////////////////////////
- #if !defined(AFX_S3PTABLEDAO_H__B9DCB685_90F6_459E_BE31_6DCD9B10D915__INCLUDED_)
- #define AFX_S3PTABLEDAO_H__B9DCB685_90F6_459E_BE31_6DCD9B10D915__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #include "KStdAfx.h"
- #include <string>
- #include <sqlplus.hh>
- #include "S3PResult.h" // Added by ClassView
- #include "S3PRow.h"
- class S3PDBConnection;
- class S3PTableDAO
- {
- public:
- static int Query(S3PDBConnection * pConn, string q, S3PResult & result);
- int AddGroup(const std::list<ColumnAndValue*> & group);
- int Query(std::string q, S3PResult & result);
- int Add(S3PRow * row);
- int Update(S3PRow * row, S3PRow * where = NULL);
- int Delete(S3PRow * where = NULL);
- bool HasItem( S3PRow* where );
- virtual std::string GetTableName() = 0;
- S3PTableDAO();
- virtual ~S3PTableDAO();
- int GetInsertID();
- virtual S3PDBConnection * GetConnection() = 0;
- protected:
- ResNSel m_resAdd;
- };
- #endif // !defined(AFX_S3PTABLEDAO_H__B9DCB685_90F6_459E_BE31_6DCD9B10D915__INCLUDED_)