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
field_types1.hh
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++
- #ifndef __field_types1_hh__
- #define __field_types1_hh__
- #include <vector>
- using namespace std ;
- #include "defs.h"
- #include "define_short.h"
- #include "type_info1.hh"
- //: A vector of the field types.
- class FieldTypes : public vector<mysql_type_info>
- {
- private:
- void init (const ResUse *res);
- public:
- FieldTypes () {}
- FieldTypes (const ResUse *res) {init(res);}
- FieldTypes (int i) : vector<mysql_type_info>(i) {}
- FieldTypes& operator = (const ResUse *res) {init(res); return *this;}
- //: Creates a new list based on the info in res
- FieldTypes& operator = (int i) {insert(begin(), i,
- mysql_type_info()); return *this;}
- //: Creates a new list with i fields.
- mysql_type_info& operator [] (int i) {return vector<mysql_type_info>
- ::operator [] (i);}
- //: Returns the field type for the field with an offset of i.
- const mysql_type_info& operator [] (int i) const
- {return vector<mysql_type_info>::operator[] (i);}
- //: Returns the field type for the field with an offset of i.
- };
- #endif