Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members   Examples  

AxisUserAPI.h

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 #if !defined(_AXISUSERAPI_H_OF_AXIS_INCLUDED_)
00019 #define _AXISUSERAPI_H_OF_AXIS_INCLUDED_
00020 
00021 /* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */
00022 /* NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE   */
00023 /* ----------------------------------------------------------------   */
00024 /* THIS HEADER FILE PATTERNED AFTER CORRESPONDING hpp HEADER FILE.    */
00025 /* CHANGES TO hpp HEADER FILE MAY NEED TO BE PROPAGATED HERE AND IN   */
00026 /* THE IMPLEMEMTATION OF THE APIS.                                    */
00027 /* ----------------------------------------------------------------   */
00028 /* NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE   */
00029 /* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */
00030 
00031 #ifdef __cplusplus
00032   extern "C" {
00033 #endif
00034 
00035 #include <axis/GDefine.h>
00036 #include <time.h>
00037 #include <string.h>
00038 #include <axis/TypeMapping.h>
00039 
00053 typedef AxiscChar * xsdc__string;
00054 
00059 typedef AxiscChar * xsdc__normalizedString;
00060 
00065 typedef AxiscChar * xsdc__token;
00066 
00071 typedef AxiscChar * xsdc__language;
00072 
00077 typedef AxiscChar * xsdc__Name;
00078 
00083 typedef AxiscChar * xsdc__NCName;
00084 
00089 typedef AxiscChar * xsdc__ID;
00090 
00095 typedef AxiscChar * xsdc__IDREF;
00096 
00101 typedef AxiscChar * xsdc__IDREFS;
00102 
00107 typedef AxiscChar * xsdc__ENTITY;
00108 
00113 typedef AxiscChar * xsdc__ENTITIES;
00114 
00119 typedef AxiscChar * xsdc__NMTOKEN;
00120 
00125 typedef AxiscChar * xsdc__NMTOKENS;
00126 
00131 #ifdef WIN32
00132 typedef __int64 xsdc__integer;
00133 #else
00134 typedef long long xsdc__integer;
00135 #endif
00136 
00141 typedef int xsdc__int;
00142 
00147 #ifdef WIN32
00148 typedef __int64 xsdc__long;
00149 #else
00150 typedef long long xsdc__long;
00151 #endif
00152 
00157 typedef short xsdc__short;
00158 
00163 typedef double xsdc__decimal;
00164 
00169 typedef float xsdc__float;
00170 
00175 typedef double xsdc__double;
00176 
00181 typedef enum { false_=0, true_ } xsdc__boolean;
00186 typedef signed char xsdc__byte;
00187 
00192 typedef AxiscChar * xsdc__QName;
00193 
00198 typedef AxiscChar * xsdc__NOTATION;
00199 
00204 typedef struct tm xsdc__dateTime;
00205 
00210 typedef struct tm xsdc__date;
00211 
00216 typedef struct tm xsdc__time;
00217 
00222 typedef struct tm xsdc__gYearMonth;
00223 
00228 typedef struct tm xsdc__gYear;
00229 
00234 typedef struct tm xsdc__gMonthDay;
00235 
00240 typedef struct tm xsdc__gDay;
00241 
00246 typedef struct tm xsdc__gMonth;
00247 
00252 typedef long xsdc__duration;
00253 
00258 #ifdef WIN32
00259 typedef unsigned __int64 xsdc__nonNegativeInteger;
00260 #else
00261 typedef unsigned long long xsdc__nonNegativeInteger;
00262 #endif
00263 
00268 typedef unsigned char xsdc__unsignedByte;
00269 
00274 typedef unsigned int xsdc__unsignedInt;
00275 
00280 #ifdef WIN32
00281 typedef unsigned __int64 xsdc__unsignedLong;
00282 #else
00283 typedef unsigned long long xsdc__unsignedLong;
00284 #endif
00285 
00289 typedef unsigned short xsdc__unsignedShort;
00290 
00295 #ifdef WIN32
00296 typedef __int64 xsdc__nonPositiveInteger;
00297 #else
00298 typedef long long xsdc__nonPositiveInteger;
00299 #endif
00300 
00305 #ifdef WIN32
00306 typedef unsigned __int64 xsdc__positiveInteger;
00307 #else
00308 typedef unsigned long long xsdc__positiveInteger;
00309 #endif
00310 
00315 #ifdef WIN32
00316 typedef __int64 xsdc__negativeInteger;
00317 #else
00318 typedef long long xsdc__negativeInteger;
00319 #endif
00320 
00325 typedef struct
00326 {
00330     xsdc__unsignedByte * __ptr;
00331     
00335     xsdc__int __size;
00336 } xsdc__base64Binary;
00337 
00342 typedef struct
00343 {
00347     xsdc__unsignedByte * __ptr;
00348     
00352     xsdc__int __size;
00353 } xsdc__hexBinary;
00358 typedef AxiscChar * xsdc__anyURI;
00359 
00365 typedef enum {
00366     AXISC_RPC_ENCODED, /*default*/
00367     AXISC_DOC_LITERAL,
00368     AXISC_RPC_LITERAL
00369 } AXISC_BINDING_STYLE;
00370 
00371 #define AXISC_DEFINED_ARRAY(type) \
00372     typedef struct {\
00373         type ** m_Array;\
00374         int m_Size;\
00375         AXISC_XSDTYPE m_Type; \
00376     } type##_Array;
00377 
00378 #define AXISC_DEFINED_POINTER_ARRAY(type) \
00379     typedef struct {\
00380         type * m_Array;\
00381         int m_Size;\
00382         AXISC_XSDTYPE m_Type; \
00383     } type##_Array;
00384 
00385 #define AXISC_DEFINED_ARRAY2(type) \
00386     typedef struct {\
00387         AXISCHANDLE m_Array;\
00388         int m_Size;\
00389         AXISC_XSDTYPE m_Type; \
00390     } type##_Array;
00391 
00392 typedef struct {
00393     void* m_Array;
00394     int m_Size;
00395     AXISC_XSDTYPE m_Type; \
00396 } Axisc_Array;
00397 
00398 AXISC_DEFINED_ARRAY(xsdc__duration) 
00399 AXISC_DEFINED_ARRAY(xsdc__dateTime)
00400 AXISC_DEFINED_ARRAY(xsdc__time)
00401 AXISC_DEFINED_ARRAY(xsdc__date)
00402 AXISC_DEFINED_ARRAY(xsdc__gYearMonth)
00403 AXISC_DEFINED_ARRAY(xsdc__gYear)
00404 AXISC_DEFINED_ARRAY(xsdc__gMonthDay)
00405 AXISC_DEFINED_ARRAY(xsdc__gDay)
00406 AXISC_DEFINED_ARRAY(xsdc__gMonth)
00407 AXISC_DEFINED_POINTER_ARRAY(xsdc__string)
00408 AXISC_DEFINED_POINTER_ARRAY(xsdc__normalizedString)
00409 AXISC_DEFINED_POINTER_ARRAY(xsdc__token)
00410 AXISC_DEFINED_POINTER_ARRAY(xsdc__language)
00411 AXISC_DEFINED_POINTER_ARRAY(xsdc__Name)
00412 AXISC_DEFINED_POINTER_ARRAY(xsdc__NCName)
00413 AXISC_DEFINED_POINTER_ARRAY(xsdc__ID)
00414 AXISC_DEFINED_POINTER_ARRAY(xsdc__IDREF)
00415 AXISC_DEFINED_POINTER_ARRAY(xsdc__IDREFS)
00416 AXISC_DEFINED_POINTER_ARRAY(xsdc__ENTITY)
00417 AXISC_DEFINED_POINTER_ARRAY(xsdc__ENTITIES)
00418 AXISC_DEFINED_POINTER_ARRAY(xsdc__NMTOKEN)
00419 AXISC_DEFINED_POINTER_ARRAY(xsdc__NMTOKENS)
00420 AXISC_DEFINED_ARRAY(xsdc__boolean)
00421 AXISC_DEFINED_ARRAY(xsdc__base64Binary)
00422 AXISC_DEFINED_ARRAY(xsdc__hexBinary)
00423 AXISC_DEFINED_ARRAY(xsdc__float)
00424 AXISC_DEFINED_ARRAY(xsdc__decimal)
00425 AXISC_DEFINED_ARRAY(xsdc__integer)
00426 AXISC_DEFINED_ARRAY(xsdc__nonPositiveInteger)
00427 AXISC_DEFINED_ARRAY(xsdc__negativeInteger)
00428 AXISC_DEFINED_ARRAY(xsdc__long)
00429 AXISC_DEFINED_ARRAY(xsdc__int)
00430 AXISC_DEFINED_ARRAY(xsdc__short)
00431 AXISC_DEFINED_ARRAY(xsdc__byte)
00432 AXISC_DEFINED_ARRAY(xsdc__nonNegativeInteger)
00433 AXISC_DEFINED_ARRAY(xsdc__unsignedLong)
00434 AXISC_DEFINED_ARRAY(xsdc__unsignedInt)
00435 AXISC_DEFINED_ARRAY(xsdc__unsignedByte)
00436 AXISC_DEFINED_ARRAY(xsdc__unsignedShort)
00437 AXISC_DEFINED_ARRAY(xsdc__positiveInteger)
00438 AXISC_DEFINED_ARRAY(xsdc__double)
00439 AXISC_DEFINED_POINTER_ARRAY(xsdc__anyURI)
00440 AXISC_DEFINED_POINTER_ARRAY(xsdc__QName)
00441 AXISC_DEFINED_POINTER_ARRAY(xsdc__NOTATION)
00442  
00443 static const xsdc__boolean xsdc_boolean_true = (xsdc__boolean) 1;
00444 static const xsdc__boolean xsdc_boolean_false = (xsdc__boolean) 0;
00445 
00446 typedef enum {
00447     AXISC_NORMAL_CHANNEL=0,
00448     AXISC_SSL_CHANNEL
00449 } AXISC_CHANNEL_TYPE;
00450 
00455 typedef char* AXISC_XML_String;
00456 
00461 typedef struct
00462 {
00466     AXISC_XML_String* _array;
00467 
00471     int _size;
00472 } AxiscAnyType;
00473 
00474 #ifdef __cplusplus
00475   }
00476 #endif
00477 
00478 #endif

Generated on Fri Mar 3 01:12:35 2006 for AxisC++ by doxygen1.2.18