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 // (c) Copyright IBM Corp. 2004, 2005 All Rights Reserved 00004 * 00005 * Licensed under the Apache License, Version 2.0 (the "License"); 00006 * you may not use this file except in compliance with the License. 00007 * You may obtain a copy of the License at 00008 * 00009 * http://www.apache.org/licenses/LICENSE-2.0 00010 * 00011 * Unless required by applicable law or agreed to in writing, software 00012 * distributed under the License is distributed on an "AS IS" BASIS, 00013 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00014 * See the License for the specific language governing permissions and 00015 * limitations under the License. 00016 * 00017 */ 00018 00019 #if !defined(_AXISUSERAPI_H____OF_AXIS_INCLUDED_) 00020 #define _AXISUSERAPI_H____OF_AXIS_INCLUDED_ 00021 00022 #include <axis/GDefine.hpp> 00023 #include <time.h> 00024 #include <string.h> 00025 00026 AXIS_CPP_NAMESPACE_START 00027 00043 typedef AxisChar * xsd__string; 00048 #ifdef WIN32 00049 typedef __int64 xsd__integer; 00050 #else 00051 typedef long long xsd__integer; 00052 #endif 00053 00057 typedef int xsd__int; 00062 //FJP v Added 00063 #ifdef WIN32 00064 typedef __int64 xsd__long; 00065 #else 00066 typedef long long xsd__long; 00067 #endif 00068 //FJP ^ Added 00073 typedef short xsd__short; 00078 typedef double xsd__decimal; 00083 typedef float xsd__float; 00088 typedef double xsd__double; 00093 typedef enum { false_=0, true_ } xsd__boolean; 00098 typedef char xsd__byte; 00103 typedef AxisChar * xsd__QName; 00108 typedef AxisChar * xsd__notation; 00113 //typedef AxisChar * xsd__NCName; 00118 typedef struct tm xsd__dateTime; 00123 typedef struct tm xsd__date; 00128 typedef struct tm xsd__time; 00133 typedef long xsd__duration; 00138 typedef unsigned char xsd__unsignedByte; 00143 typedef unsigned int xsd__unsignedInt; 00148 typedef unsigned long xsd__unsignedLong; 00153 typedef unsigned short xsd__unsignedShort; 00154 00159 class STORAGE_CLASS_INFO xsd__base64Binary { 00160 public: 00161 xsd__base64Binary(); 00162 ~xsd__base64Binary(); 00163 xsd__unsignedByte * __ptr; 00164 xsd__int __size; 00165 }; 00166 00171 class STORAGE_CLASS_INFO xsd__hexBinary { 00172 public: 00173 xsd__hexBinary(); 00174 ~xsd__hexBinary(); 00175 xsd__unsignedByte * __ptr; 00176 xsd__int __size; 00177 }; 00178 00183 typedef AxisChar * xsd__anyURI; 00188 typedef AxisChar * xsd__NMTOKEN; 00194 typedef enum { 00195 RPC_ENCODED, /*default*/ 00196 DOC_LITERAL, 00197 RPC_LITERAL 00198 } AXIS_BINDING_STYLE; 00199 00200 #define AXIS_DEFINED_ARRAY(type) \ 00201 class type##_Array {\ 00202 public:\ 00203 type ** m_Array;\ 00204 int m_Size;\ 00205 }; 00206 00207 #define AXIS_DEFINED_POINTER_ARRAY(type) \ 00208 class type##_Array {\ 00209 public:\ 00210 type * m_Array;\ 00211 int m_Size;\ 00212 }; 00213 00214 class Axis_Array { 00215 public: 00216 void* m_Array; 00217 int m_Size; 00218 }; 00219 00220 AXIS_DEFINED_POINTER_ARRAY(xsd__string) 00221 AXIS_DEFINED_ARRAY(xsd__integer) 00222 AXIS_DEFINED_ARRAY(xsd__int) 00223 AXIS_DEFINED_ARRAY(xsd__long) 00224 AXIS_DEFINED_ARRAY(xsd__short) 00225 AXIS_DEFINED_ARRAY(xsd__decimal) 00226 AXIS_DEFINED_ARRAY(xsd__float) 00227 AXIS_DEFINED_ARRAY(xsd__double) 00228 AXIS_DEFINED_ARRAY(xsd__boolean) 00229 AXIS_DEFINED_POINTER_ARRAY(xsd__QName) 00230 //AXIS_DEFINED_ARRAY(xsd__NCName) 00231 AXIS_DEFINED_ARRAY(xsd__dateTime) 00232 AXIS_DEFINED_ARRAY(xsd__unsignedByte) 00233 AXIS_DEFINED_ARRAY(xsd__unsignedInt) 00234 AXIS_DEFINED_ARRAY(xsd__unsignedLong) 00235 AXIS_DEFINED_ARRAY(xsd__unsignedShort) 00236 AXIS_DEFINED_ARRAY(xsd__base64Binary) 00237 AXIS_DEFINED_ARRAY(xsd__hexBinary) 00238 AXIS_DEFINED_POINTER_ARRAY(xsd__anyURI) 00239 AXIS_DEFINED_POINTER_ARRAY(xsd__NMTOKEN) 00240 00241 #define AXIS_OUT_PARAM 00242 00243 static const int xsd_boolean_true = 1; 00244 static const int xsd_boolean_false = 0; 00245 00246 typedef enum { 00247 NORMAL_CHANNEL=0, 00248 SSL_CHANNEL 00249 } AXIS_CHANNEL_TYPE; 00250 00255 typedef char* XML_String; 00256 00261 class STORAGE_CLASS_INFO AnyType 00262 { 00263 public: 00264 AnyType(); 00265 ~AnyType(); 00266 00270 XML_String* _array; 00271 00275 int _size; 00276 }; 00277 00278 AXIS_CPP_NAMESPACE_END 00279 #endif

Generated on Sat Apr 9 15:11:57 2005 for AxisC++ by doxygen 1.3.8