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

📄 polymorph.h

📁 linux下简单对象应用协议的开发库
💻 H
字号:
//gsoap ns service name:	polymorph//gsoap ns service style:	rpc//gsoap ns service encoding:	encoded//gsoap ns service namespace:	http://websrv.cs.fsu.edu/~engelen/polymorph.wsdl//gsoap ns service location:	http://websrv.cs.fsu.edu/~engelen/polytest.cgi//gsoap ns schema namespace: urn:copyclass ns__Object{ public:  char *name;  ns__Object();  ns__Object(const char *name);  virtual ~ns__Object();  virtual void print();};class ns__Shape: public ns__Object{ public:  char *name; // test overriding, both the ns__Object:name and ns__Shape:name are encoded  int sides;  ns__Shape();  ns__Shape(const char *name, int sides);  virtual ~ns__Shape();  virtual void print();};class ns__Square: public ns__Shape{ public:  char *name; // test overriding  static const int sides = 4; // will not be endoded and decoded  int size;  ns__Square();  ns__Square(const char *name, int size);  virtual ~ns__Square();  virtual void print();};class ns__List: public ns__Object // ns__List is a dynamic array{ public:  ns__Object **__ptr; // array of pointers to objects  int __size;  ns__List();  ns__List(int size);  virtual ~ns__List();  virtual ns__Object*& operator[](int i);  virtual void print();};ns__polytest(ns__Object *in, struct ns__polytestResponse { ns__Object *out; } &result);

⌨️ 快捷键说明

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