Main Page | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages | Examples

AxisUserAPI.hpp

Go to the documentation of this file.
00001 /* 00002 * Copyright 2003-2004 The Apache Software Foundation. 00003 * 00004 * Licensed under the Apache License, Version 2.0 (the "License"); 00005 * you may not use this file except in compliance with the License. 00006 * You may obtain a copy of the License at 00007 * 00008 * http://www.apache.org/licenses/LICENSE-2.0 00009 * 00010 * Unless required by applicable law or agreed to in writing, software 00011 * distributed under the License is distributed on an "AS IS" BASIS, 00012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00013 * See the License for the specific language governing permissions and 00014 * limitations under the License. 00015 * 00016 */ 00017 00018 #if !defined(_AXISUSERAPI_H____OF_AXIS_INCLUDED_) 00019 #define _AXISUSERAPI_H____OF_AXIS_INCLUDED_ 00020 00021 #include <axis/GDefine.hpp> 00022 #include <time.h> 00023 #include <string.h> 00024 00025 AXIS_CPP_NAMESPACE_START 00026 00038 typedef AxisChar * xsd__string; 00043 typedef int xsd__integer; 00048 typedef int xsd__int; 00053 //FJP v Added 00054 #ifdef WIN32 00055 typedef __int64 xsd__long; 00056 #else 00057 typedef long long xsd__long; 00058 #endif 00059 //FJP ^ Added 00064 typedef short xsd__short; 00069 typedef double xsd__decimal; 00074 typedef float xsd__float; 00079 typedef double xsd__double; 00084 typedef enum { false_=0, true_ } xsd__boolean; 00089 typedef signed char xsd__byte; 00094 typedef AxisChar * xsd__QName; 00099 typedef AxisChar * xsd__NCName; 00104 typedef struct tm xsd__dateTime; 00109 typedef struct tm xsd__date; 00114 typedef struct tm xsd__time; 00119 typedef unsigned char xsd__unsignedByte; 00124 typedef unsigned int xsd__unsignedInt; 00129 typedef unsigned long xsd__unsignedLong; 00134 typedef unsigned short xsd__unsignedShort; 00135 00140 class STORAGE_CLASS_INFO xsd__base64Binary { 00141 public: 00142 xsd__base64Binary(); 00143 ~xsd__base64Binary(); 00144 xsd__unsignedByte * __ptr; 00145 xsd__int __size; 00146 }; 00147 00152 class STORAGE_CLASS_INFO xsd__hexBinary { 00153 public: 00154 xsd__hexBinary(); 00155 ~xsd__hexBinary(); 00156 xsd__unsignedByte * __ptr; 00157 xsd__int __size; 00158 }; 00159 00164 typedef AxisChar * xsd__anyURI; 00169 typedef AxisChar * xsd__NMTOKEN; 00175 typedef enum { 00176 RPC_ENCODED, /*default*/ 00177 DOC_LITERAL, 00178 RPC_LITERAL 00179 } AXIS_BINDING_STYLE; 00180 00181 #define AXIS_DEFINED_ARRAY(type) \ 00182 class type##_Array {\ 00183 public:\ 00184 type * m_Array;\ 00185 int m_Size;\ 00186 }; 00187 00188 class Axis_Array { 00189 public: 00190 void* m_Array; 00191 int m_Size; 00192 }; 00193 00194 AXIS_DEFINED_ARRAY(xsd__string) 00195 AXIS_DEFINED_ARRAY(xsd__integer) 00196 AXIS_DEFINED_ARRAY(xsd__int) 00197 AXIS_DEFINED_ARRAY(xsd__long) 00198 AXIS_DEFINED_ARRAY(xsd__short) 00199 AXIS_DEFINED_ARRAY(xsd__decimal) 00200 AXIS_DEFINED_ARRAY(xsd__float) 00201 AXIS_DEFINED_ARRAY(xsd__double) 00202 AXIS_DEFINED_ARRAY(xsd__boolean) 00203 AXIS_DEFINED_ARRAY(xsd__QName) 00204 AXIS_DEFINED_ARRAY(xsd__NCName) 00205 AXIS_DEFINED_ARRAY(xsd__dateTime) 00206 AXIS_DEFINED_ARRAY(xsd__unsignedByte) 00207 AXIS_DEFINED_ARRAY(xsd__unsignedInt) 00208 AXIS_DEFINED_ARRAY(xsd__unsignedLong) 00209 AXIS_DEFINED_ARRAY(xsd__unsignedShort) 00210 AXIS_DEFINED_ARRAY(xsd__base64Binary) 00211 AXIS_DEFINED_ARRAY(xsd__hexBinary) 00212 AXIS_DEFINED_ARRAY(xsd__anyURI) 00213 AXIS_DEFINED_ARRAY(xsd__NMTOKEN) 00214 00215 #define AXIS_OUT_PARAM 00216 00217 static const int xsd_boolean_true = 1; 00218 static const int xsd_boolean_false = 0; 00219 00220 typedef enum { 00221 NORMAL_CHANNEL=0, 00222 SSL_CHANNEL 00223 } AXIS_CHANNEL_TYPE; 00224 00229 typedef char* XML_String; 00230 00235 class STORAGE_CLASS_INFO AnyType 00236 { 00237 public: 00238 AnyType(); 00239 ~AnyType(); 00240 00244 XML_String* _array; 00245 00249 int _size; 00250 }; 00251 00252 AXIS_CPP_NAMESPACE_END 00253 #endif

Generated on Tue Feb 8 14:34:17 2005 for AxisC++ by doxygen 1.3.8