You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by wh...@apache.org on 2004/11/10 12:32:53 UTC
cvs commit: ws-axis/c/include/axis/server AxisUserAPI.hpp
whitlock 2004/11/10 03:32:53
Modified: c/include/axis/server AxisUserAPI.hpp
Log:
Change external structs to classes
Revision Changes Path
1.5 +15 -9 ws-axis/c/include/axis/server/AxisUserAPI.hpp
Index: AxisUserAPI.hpp
===================================================================
RCS file: /home/cvs/ws-axis/c/include/axis/server/AxisUserAPI.hpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- AxisUserAPI.hpp 10 Nov 2004 10:29:53 -0000 1.4
+++ AxisUserAPI.hpp 10 Nov 2004 11:32:53 -0000 1.5
@@ -127,22 +127,27 @@
* Axis C++ defined type for xml basic type unsignedShort
*/
typedef unsigned short xsd__unsignedShort;
+
/**
- * @struct xsd__base64Binary
+ * @class xsd__base64Binary
* Axis C++ defined type for xml basic type base64Binary
*/
-typedef struct {
+class xsd__base64Binary {
+public:
xsd__unsignedByte * __ptr;
xsd__int __size;
-} xsd__base64Binary;
+};
+
/**
- * @struct xsd__hexBinary
+ * @class xsd__hexBinary
* Axis C++ defined type for xml basic type hexBinary
*/
-typedef struct{
+class xsd__hexBinary {
+public:
xsd__unsignedByte * __ptr;
xsd__int __size;
-} xsd__hexBinary;
+};
+
/**
* @typedef xsd__anyURI
* Axis C++ defined type for xml basic type anyURI
@@ -209,11 +214,12 @@
typedef char* XML_String;
/**
- * @struct AnyType
+ * @class AnyType
* Axis C++ defined type for handling xsd:any.
*/
-typedef struct
+class AnyType
{
+public:
/**
* @var _array Contains an array of xml encoded strings.
*/
@@ -222,7 +228,7 @@
* @var _size Contains how many xml strings are there in _array
*/
int _size;
-} AnyType;
+};
AXIS_CPP_NAMESPACE_END
#endif