⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 includes.h

📁 linux下简单对象应用协议的开发库
💻 H
字号:
/*includes.h--------------------------------------------------------------------------------gSOAP XML Web services toolsCopyright (C) 2001-2007, Robert van Engelen, Genivia Inc. All Rights Reserved.This software is released under one of the following two licenses:GPL or Genivia's license for commercial use.--------------------------------------------------------------------------------GPL license.This program is free software; you can redistribute it and/or modify it underthe terms of the GNU General Public License as published by the Free SoftwareFoundation; either version 2 of the License, or (at your option) any laterversion.This program is distributed in the hope that it will be useful, but WITHOUT ANYWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR APARTICULAR PURPOSE. See the GNU General Public License for more details.You should have received a copy of the GNU General Public License along withthis program; if not, write to the Free Software Foundation, Inc., 59 TemplePlace, Suite 330, Boston, MA 02111-1307 USAAuthor contact information:engelen@genivia.com / engelen@acm.org--------------------------------------------------------------------------------A commercial use license is available from Genivia, Inc., contact@genivia.com--------------------------------------------------------------------------------*/#ifndef INCLUDES_H#define INCLUDES_H#include "stdsoap2.h"#ifdef WIN32# pragma warning(disable : 4996)#endif#undef VERSION#define VERSION "1.2.9l"#include <utility>#include <iterator>#include <vector>#include <set>#include <map>using namespace std;struct ltstr{ bool operator()(const char *s1, const char *s2) const  { return strcmp(s1, s2) < 0;  }}; typedef set<const char*, ltstr> SetOfString;typedef pair<const char*, const char*> Pair;struct ltpair{ bool operator()(Pair s1, Pair s2) const  { int cmp = strcmp(s1.first, s2.first);    if (cmp)      return cmp < 0;    return strcmp(s1.second, s2.second) < 0;  }};typedef map<const char*, const char*, ltstr> MapOfStringToString;typedef map<Pair, const char*, ltpair> MapOfPairToString;typedef map<const char*, size_t, ltstr> MapOfStringToNum;typedef vector<const char*> VectorOfString;extern int _flag,           aflag,	   cflag,	   dflag,	   eflag,	   fflag,	   gflag,	   iflag,	   jflag,	   lflag,	   mflag,	   pflag,	   sflag,	   uflag,	   vflag,	   wflag,	   xflag,	   yflag,	   zflag;extern FILE *stream;extern SetOfString exturis;#define MAXINFILES (1000)extern int infiles;extern char *infile[MAXINFILES], *outfile, *proxy_host;extern const char *mapfile, *import_path, *cwd_path, *cppnamespace;extern int proxy_port;extern const char *service_prefix;extern const char *schema_prefix;extern char elementformat[];extern char pointerformat[];extern char attributeformat[];extern char vectorformat[];extern char pointervectorformat[];extern char arrayformat[];extern char sizeformat[];extern char offsetformat[];extern char choiceformat[];extern char schemaformat[];extern char serviceformat[];extern char paraformat[];extern char anonformat[];extern char copyrightnotice[];extern char licensenotice[];extern void *emalloc(size_t size);extern char *estrdup(const char *s);#endif

⌨️ 快捷键说明

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