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

IWrapperSoapDeSerializer.h

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 #if !defined(_IWRAPPERSOAPDESERIALIZER_H____OF_AXIS_INCLUDED_)
00018 #define _IWRAPPERSOAPDESERIALIZER_H____OF_AXIS_INCLUDED_
00019 
00020 
00021 #include "GDefine.h"
00022 #include "AxisUserAPI.h"
00023 #include "TypeMapping.h"
00024 #include "WSDDDefines.h"
00025 #include "Packet.h"
00026 #include <axis/SOAPTransport.h>
00027 
00028 #ifdef __cplusplus
00029 
00030 #include "ISoapDeSerializer.h"
00031 #include <string>
00032 using namespace std;
00033 #endif
00034 
00035 typedef struct {
00036     int (AXISCALL* checkMessageBody)(void* pObj, const AxisChar* pName, 
00037         const AxisChar* pNamespace);
00038     int (AXISCALL* checkForFault)(void* pObj, const AxisChar* pName, 
00039         const AxisChar* pNamespace);
00040     /* Method used by wrappers to get a deserialized Array of complex types */
00041     Axis_Array (AXISCALL* getCmplxArray)(void* pObj, void* pDZFunct, 
00042         void* pCreFunct, void* pDelFunct, void* pSizeFunct, 
00043         const AxisChar* pName, const AxisChar* pNamespace);
00044     /* Method used by wrappers to get a deserialized Array of basic types */
00045     Axis_Array (AXISCALL* getBasicArray)(void* pObj, XSDTYPE nType, 
00046         const AxisChar* pName, const AxisChar* pNamespace);
00047     /* Method used by wrappers to get a deserialized single object of 
00048      * complex type 
00049      */
00050     void* (AXISCALL* getCmplxObject)(void* pObj, void* pDZFunct, 
00051         void* pCreFunct, void* pDelFunct, const AxisChar* pName, 
00052         const AxisChar* pNamespace);
00053     
00054     /* Methods used by wrappers to get a deserialized value of basic types */
00055     int (AXISCALL* getElementAsInt)(void* pObj, const AxisChar* pName, 
00056         const AxisChar* pNamespace);
00057     int (AXISCALL* getFaultDetail)(void* pObj, char** ppcDetail);
00058     xsd__boolean (AXISCALL* getElementAsBoolean)(void* pObj, 
00059         const AxisChar* pName, const AxisChar* pNamespace);
00060     unsigned int (AXISCALL* getElementAsUnsignedInt)(void* pObj, 
00061         const AxisChar* pName, const AxisChar* pNamespace);
00062     short (AXISCALL* getElementAsShort)(void* pObj, const AxisChar* pName, 
00063         const AxisChar* pNamespace);
00064     unsigned short (AXISCALL* getElementAsUnsignedShort)(void* pObj, 
00065         const AxisChar* pName, const AxisChar* pNamespace);
00066     char (AXISCALL* getElementAsByte)(void* pObj, const AxisChar* pName, 
00067         const AxisChar* pNamespace);
00068     unsigned char (AXISCALL* getElementAsUnsignedByte)(void* pObj, 
00069         const AxisChar* pName, const AxisChar* pNamespace);
00070     long (AXISCALL* getElementAsLong)(void* pObj, const AxisChar* pName, 
00071         const AxisChar* pNamespace);
00072     long (AXISCALL* getElementAsInteger)(void* pObj, const AxisChar* pName, 
00073         const AxisChar* pNamespace);
00074     unsigned long (AXISCALL* getElementAsUnsignedLong)(void* pObj, 
00075         const AxisChar* pName, const AxisChar* pNamespace);
00076     float (AXISCALL* getElementAsFloat)(void* pObj, const AxisChar* pName, 
00077         const AxisChar* pNamespace);
00078     double (AXISCALL* getElementAsDouble)(void* pObj, const AxisChar* pName, 
00079         const AxisChar* pNamespace);
00080     double (AXISCALL* getElementAsDecimal)(void* pObj, const AxisChar* pName, 
00081         const AxisChar* pNamespace);
00082     AxisChar* (AXISCALL* getElementAsString)(void* pObj, const AxisChar* pName,
00083         const AxisChar* pNamespace);
00084     AxisChar* (AXISCALL* getElementAsAnyURI)(void* pObj, const AxisChar* pName,
00085         const AxisChar* pNamespace);
00086     AxisChar* (AXISCALL* getElementAsQName)(void* pObj, const AxisChar* pName,
00087         const AxisChar* pNamespace);
00088     xsd__hexBinary (AXISCALL* getElementAsHexBinary)(void* pObj, 
00089         const AxisChar* pName, const AxisChar* pNamespace);
00090     xsd__base64Binary (AXISCALL* getElementAsBase64Binary)(void* pObj, 
00091         const AxisChar* pName, const AxisChar* pNamespace);
00092     struct tm (AXISCALL* getElementAsDateTime)(void* pObj, 
00093         const AxisChar* pName, const AxisChar* pNamespace);
00094     struct tm (AXISCALL* getElementAsDate)(void* pObj, const AxisChar* pName,
00095         const AxisChar* pNamespace);
00096     struct tm (AXISCALL* getElementAsTime)(void* pObj, const AxisChar* pName,
00097         const AxisChar* pNamespace);
00098     long (AXISCALL* getElementAsDuration)(void* pObj, const AxisChar* pName,
00099         const AxisChar* pNamespace);
00100 
00101     int (AXISCALL* getAttributeAsInt)(void* pObj, const AxisChar* pName, 
00102         const AxisChar* pNamespace);
00103     xsd__boolean (AXISCALL* getAttributeAsBoolean)(void* pObj, 
00104         const AxisChar* pName, const AxisChar* pNamespace);
00105     unsigned int (AXISCALL* getAttributeAsUnsignedInt)(void* pObj, 
00106         const AxisChar* pName, const AxisChar* pNamespace);
00107     short (AXISCALL* getAttributeAsShort)(void* pObj, const AxisChar* pName, 
00108         const AxisChar* pNamespace);
00109     unsigned short (AXISCALL* getAttributeAsUnsignedShort)(void* pObj, 
00110         const AxisChar* pName, const AxisChar* pNamespace);
00111     char (AXISCALL* getAttributeAsByte)(void* pObj, const AxisChar* pName, 
00112         const AxisChar* pNamespace);
00113     unsigned char (AXISCALL* getAttributeAsUnsignedByte)(void* pObj, 
00114         const AxisChar* pName, const AxisChar* pNamespace);
00115     long (AXISCALL* getAttributeAsLong)(void* pObj, const AxisChar* pName, 
00116         const AxisChar* pNamespace);
00117     long (AXISCALL* getAttributeAsInteger)(void* pObj, const AxisChar* pName, 
00118         const AxisChar* pNamespace);
00119     unsigned long (AXISCALL* getAttributeAsUnsignedLong)(void* pObj, 
00120         const AxisChar* pName, const AxisChar* pNamespace);
00121     float (AXISCALL* getAttributeAsFloat)(void* pObj, const AxisChar* pName, 
00122         const AxisChar* pNamespace);
00123     double (AXISCALL* getAttributeAsDouble)(void* pObj, const AxisChar* pName, 
00124         const AxisChar* pNamespace);
00125     double (AXISCALL* getAttributeAsDecimal)(void* pObj, const AxisChar* pName,
00126         const AxisChar* pNamespace);
00127     AxisChar* (AXISCALL* getAttributeAsString)(void* pObj, 
00128         const AxisChar* pName, const AxisChar* pNamespace);
00129     AxisChar* (AXISCALL* getAttributeAsAnyURI)(void* pObj, 
00130         const AxisChar* pName, const AxisChar* pNamespace);
00131     AxisChar* (AXISCALL* getAttributeAsQName)(void* pObj, 
00132         const AxisChar* pName, const AxisChar* pNamespace);
00133     xsd__hexBinary (AXISCALL* getAttributeAsHexBinary)(void* pObj, 
00134         const AxisChar* pName, const AxisChar* pNamespace);
00135     xsd__base64Binary (AXISCALL* getAttributeAsBase64Binary)(void* pObj, 
00136         const AxisChar* pName, const AxisChar* pNamespace);
00137     struct tm (AXISCALL* getAttributeAsDateTime)(void* pObj, 
00138         const AxisChar* pName, const AxisChar* pNamespace);
00139     struct tm (AXISCALL* getAttributeAsDate)(void* pObj, const AxisChar* pName,
00140         const AxisChar* pNamespace);
00141     struct tm (AXISCALL* getAttributeAsTime)(void* pObj, const AxisChar* pName,
00142         const AxisChar* pNamespace);
00143     long (AXISCALL* getAttributeAsDuration)(void* pObj, const AxisChar* pName,
00144         const AxisChar* pNamespace);
00145     int (AXISCALL* getStatus)(void* pObj);
00146     AnyType* (AXISCALL* getAnyObject)(void* pObj);
00147 } IWrapperSoapDeSerializerFunctions;
00148 
00149 typedef struct { 
00150     void* _object; /* this will be C++ SoapDeSerializer Object */
00151     IWrapperSoapDeSerializerFunctions* _functions; 
00152     /* this is the static function table */
00153 } IWrapperSoapDeSerializer_C;
00154 
00155 #ifndef __cplusplus
00156 typedef IWrapperSoapDeSerializer_C IWrapperSoapDeSerializer;
00157 #else
00158 
00166 class IWrapperSoapDeSerializer : public ISoapDeSerializer
00167 {
00168 public:
00169     virtual ~IWrapperSoapDeSerializer(){};
00170 
00171     virtual int AXISCALL checkMessageBody(const AxisChar* pName, 
00172         const AxisChar* pNamespace)=0;
00173     virtual int AXISCALL checkForFault(const AxisChar* pName, 
00174         const AxisChar* pNamespace)=0;
00175     /* Method used by wrappers to get a deserialized Array of complex types */
00176     virtual Axis_Array AXISCALL getCmplxArray(void* pDZFunct, void* pCreFunct, 
00177         void* pDelFunct, void* pSizeFunct, const AxisChar* pName, 
00178         const AxisChar* pNamespace)=0;
00179     /* Method used by wrappers to get a deserialized Array of basic types */
00180     virtual Axis_Array AXISCALL getBasicArray(XSDTYPE nType, 
00181         const AxisChar* pName, const AxisChar* pNamespace)=0;
00182     /* Method used by wrappers to get a deserialized single object of 
00183      * complex type 
00184      */
00185     virtual void* AXISCALL getCmplxObject(void* pDZFunct, void* pCreFunct, 
00186         void* pDelFunct, const AxisChar* pName, const AxisChar* pNamespace)=0;
00187     
00188     /* Methods used by wrappers to get a deserialized value of basic types */
00189     virtual int AXISCALL getElementAsInt(const AxisChar* pName, 
00190         const AxisChar* pNamespace)=0;
00191     virtual int AXISCALL getFaultDetail(char** ppcDetail) = 0;
00192     virtual xsd__boolean AXISCALL getElementAsBoolean(const AxisChar* pName, 
00193         const AxisChar* pNamespace)=0;
00194     virtual unsigned int AXISCALL getElementAsUnsignedInt(const AxisChar* 
00195         pName, const AxisChar* pNamespace)=0;
00196     virtual short AXISCALL getElementAsShort(const AxisChar* pName, 
00197         const AxisChar* pNamespace)=0;
00198     virtual unsigned short AXISCALL getElementAsUnsignedShort(const AxisChar* 
00199         pName, const AxisChar* pNamespace)=0;
00200     virtual char AXISCALL getElementAsByte(const AxisChar* pName, 
00201         const AxisChar* pNamespace)=0;
00202     virtual unsigned char AXISCALL getElementAsUnsignedByte(const AxisChar* 
00203         pName, const AxisChar* pNamespace)=0;
00204     virtual long AXISCALL getElementAsLong(const AxisChar* pName, 
00205         const AxisChar* pNamespace)=0;
00206     virtual long AXISCALL getElementAsInteger(const AxisChar* pName, 
00207         const AxisChar* pNamespace)=0;
00208     virtual unsigned long AXISCALL getElementAsUnsignedLong(const AxisChar* 
00209         pName, const AxisChar* pNamespace)=0;
00210     virtual float AXISCALL getElementAsFloat(const AxisChar* pName, 
00211         const AxisChar* pNamespace)=0;
00212     virtual double AXISCALL getElementAsDouble(const AxisChar* pName, 
00213         const AxisChar* pNamespace)=0;
00214     virtual double AXISCALL getElementAsDecimal(const AxisChar* pName, 
00215         const AxisChar* pNamespace)=0;
00216     virtual AxisChar* AXISCALL getElementAsString(const AxisChar* pName, 
00217         const AxisChar* pNamespace)=0;
00218     virtual AxisChar* AXISCALL getElementAsAnyURI(const AxisChar* pName, 
00219         const AxisChar* pNamespace)=0;
00220     virtual AxisChar* AXISCALL getElementAsQName(const AxisChar* pName, 
00221         const AxisChar* pNamespace)=0;
00222     virtual xsd__hexBinary AXISCALL getElementAsHexBinary(const AxisChar* 
00223         pName, const AxisChar* pNamespace)=0;
00224     virtual xsd__base64Binary AXISCALL getElementAsBase64Binary(const AxisChar*
00225         pName, const AxisChar* pNamespace)=0;
00226     virtual struct tm AXISCALL getElementAsDateTime(const AxisChar* pName, 
00227         const AxisChar* pNamespace)=0;
00228     virtual struct tm AXISCALL getElementAsDate(const AxisChar* pName, 
00229         const AxisChar* pNamespace)=0;
00230     virtual struct tm AXISCALL getElementAsTime(const AxisChar* pName, 
00231         const AxisChar* pNamespace)=0;
00232     virtual long AXISCALL getElementAsDuration(const AxisChar* pName, 
00233         const AxisChar* pNamespace)=0;
00234 
00235     virtual int AXISCALL getAttributeAsInt(const AxisChar* pName, 
00236         const AxisChar* pNamespace)=0;
00237     virtual xsd__boolean AXISCALL getAttributeAsBoolean(const AxisChar* pName, 
00238         const AxisChar* pNamespace)=0;
00239     virtual unsigned int AXISCALL getAttributeAsUnsignedInt(const AxisChar* 
00240         pName, const AxisChar* pNamespace)=0;
00241     virtual short AXISCALL getAttributeAsShort(const AxisChar* pName, 
00242         const AxisChar* pNamespace)=0;
00243     virtual unsigned short AXISCALL getAttributeAsUnsignedShort(const AxisChar*
00244         pName, const AxisChar* pNamespace)=0;
00245     virtual char AXISCALL getAttributeAsByte(const AxisChar* pName, 
00246         const AxisChar* pNamespace)=0;
00247     virtual unsigned char AXISCALL getAttributeAsUnsignedByte(const AxisChar* 
00248         pName, const AxisChar* pNamespace)=0;
00249     virtual long AXISCALL getAttributeAsLong(const AxisChar* pName, 
00250         const AxisChar* pNamespace)=0;
00251     virtual long AXISCALL getAttributeAsInteger(const AxisChar* pName, 
00252         const AxisChar* pNamespace)=0;
00253     virtual unsigned long AXISCALL getAttributeAsUnsignedLong(const AxisChar* 
00254         pName, const AxisChar* pNamespace)=0;
00255     virtual float AXISCALL getAttributeAsFloat(const AxisChar* pName, 
00256         const AxisChar* pNamespace)=0;
00257     virtual double AXISCALL getAttributeAsDouble(const AxisChar* pName, 
00258         const AxisChar* pNamespace)=0;
00259     virtual double AXISCALL getAttributeAsDecimal(const AxisChar* pName, 
00260         const AxisChar* pNamespace)=0;
00261     virtual AxisChar* AXISCALL getAttributeAsString(const AxisChar* pName, 
00262         const AxisChar* pNamespace)=0;
00263     virtual AxisChar* AXISCALL getAttributeAsAnyURI(const AxisChar* pName, 
00264         const AxisChar* pNamespace)=0;
00265     virtual AxisChar* AXISCALL getAttributeAsQName(const AxisChar* pName, 
00266         const AxisChar* pNamespace)=0;
00267     virtual xsd__hexBinary AXISCALL getAttributeAsHexBinary(const AxisChar* 
00268         pName, const AxisChar* pNamespace)=0;
00269     virtual xsd__base64Binary AXISCALL getAttributeAsBase64Binary(const 
00270         AxisChar* pName, const AxisChar* pNamespace)=0;
00271     virtual struct tm AXISCALL getAttributeAsDateTime(const AxisChar* pName, 
00272         const AxisChar* pNamespace)=0;
00273     virtual struct tm AXISCALL getAttributeAsDate(const AxisChar* pName, 
00274         const AxisChar* pNamespace)=0;
00275     virtual struct tm AXISCALL getAttributeAsTime(const AxisChar* pName, 
00276         const AxisChar* pNamespace)=0;
00277     virtual long AXISCALL getAttributeAsDuration(const AxisChar* pName, 
00278         const AxisChar* pNamespace)=0;
00279     virtual int AXISCALL getStatus()=0;
00280     
00281     /* Externalization of deserializer API */
00282     virtual int setInputStream(SOAPTransport* pInputStream)=0;
00283     virtual int init()=0;
00284     virtual PROVIDERTYPE getCurrentProviderType()=0;
00285     virtual void setCurrentProviderType(PROVIDERTYPE nType)=0;    
00286     virtual AXIS_BINDING_STYLE getStyle()=0;    
00287     virtual void setStyle(AXIS_BINDING_STYLE nStyle)=0;
00288     virtual int getVersion()=0;
00289     virtual int getHeader()=0;    
00290         virtual AnyType* AXISCALL getAnyObject()=0;            
00291 
00292     /* following stuff is needed to provide the interface for C web services */
00293 public:
00294     static IWrapperSoapDeSerializerFunctions ms_VFtable;
00295     static int AXISCALL s_CheckMessageBody(void* pObj, const AxisChar* pName, 
00296         const AxisChar* pNamespace)
00297     {return ((IWrapperSoapDeSerializer*)pObj)->checkMessageBody(pName, 
00298     pNamespace);};
00299     static int AXISCALL s_CheckForFault(void* pObj, const AxisChar* pName, 
00300         const AxisChar* pNamespace)
00301     {return ((IWrapperSoapDeSerializer*)pObj)->checkMessageBody(pName, 
00302     pNamespace);};
00303     static Axis_Array AXISCALL s_GetCmplxArray(void* pObj, void* pDZFunct, 
00304         void* pCreFunct, void* pDelFunct, void* pSizeFunct, const AxisChar* 
00305         pName, const AxisChar* pNamespace)
00306     {return ((IWrapperSoapDeSerializer*)pObj)->getCmplxArray(pDZFunct, 
00307     pCreFunct, pDelFunct, pSizeFunct, pName, pNamespace);};
00308     static Axis_Array AXISCALL s_GetBasicArray(void* pObj, XSDTYPE nType, 
00309         const AxisChar* pName, const AxisChar* pNamespace)
00310     {return ((IWrapperSoapDeSerializer*)pObj)->getBasicArray(nType, pName, 
00311     pNamespace);};
00312     static void* AXISCALL s_GetCmplxObject(void* pObj, void* pDZFunct, 
00313         void* pCreFunct, void* pDelFunct, const AxisChar* pName, 
00314         const AxisChar* pNamespace)
00315     {return ((IWrapperSoapDeSerializer*)pObj)->getCmplxObject(pDZFunct, 
00316     pCreFunct, pDelFunct, pName, pNamespace);};
00317     static int AXISCALL s_GetElementAsInt(void* pObj, const AxisChar* pName, 
00318         const AxisChar* pNamespace)
00319     { return ((IWrapperSoapDeSerializer*)pObj)->getElementAsInt(pName, 
00320     pNamespace);};
00321     static int AXISCALL s_GetFaultDetail(void* pObj, char** ppcDetail)
00322     { return ((IWrapperSoapDeSerializer*)pObj)->getFaultDetail(ppcDetail);};
00323     static xsd__boolean AXISCALL s_GetElementAsBoolean(void* pObj, const 
00324         AxisChar* pName, const AxisChar* pNamespace)
00325     { return ((IWrapperSoapDeSerializer*)pObj)->getElementAsBoolean(pName, 
00326     pNamespace);};
00327     static unsigned int AXISCALL s_GetElementAsUnsignedInt(void* pObj, 
00328         const AxisChar* pName, const AxisChar* pNamespace)
00329     { return ((IWrapperSoapDeSerializer*)pObj)->getElementAsUnsignedInt(pName, 
00330     pNamespace);};
00331     static short AXISCALL s_GetElementAsShort(void* pObj, 
00332         const AxisChar* pName, const AxisChar* pNamespace)
00333     { return ((IWrapperSoapDeSerializer*)pObj)->getElementAsShort(pName, 
00334     pNamespace);};
00335     static unsigned short AXISCALL s_GetElementAsUnsignedShort(void* pObj, 
00336         const AxisChar* pName, const AxisChar* pNamespace)
00337     { return ((IWrapperSoapDeSerializer*)pObj)->getElementAsUnsignedShort
00338     (pName, pNamespace);};
00339     static char AXISCALL s_GetElementAsByte(void* pObj, const AxisChar* pName, 
00340         const AxisChar* pNamespace)
00341     { return ((IWrapperSoapDeSerializer*)pObj)->getElementAsByte(pName, 
00342     pNamespace);};
00343     static unsigned char AXISCALL s_GetElementAsUnsignedByte(void* pObj, 
00344         const AxisChar* pName, const AxisChar* pNamespace)
00345     { return ((IWrapperSoapDeSerializer*)pObj)->getElementAsUnsignedByte(pName,
00346     pNamespace);};
00347     static long AXISCALL s_GetElementAsLong(void* pObj, 
00348         const AxisChar* pName, const AxisChar* pNamespace)
00349     { return ((IWrapperSoapDeSerializer*)pObj)->getElementAsLong(pName, 
00350     pNamespace);};
00351     static long AXISCALL s_GetElementAsInteger(void* pObj, 
00352         const AxisChar* pName, const AxisChar* pNamespace)
00353     { return ((IWrapperSoapDeSerializer*)pObj)->getElementAsInteger(pName, 
00354     pNamespace);};
00355     static unsigned long AXISCALL s_GetElementAsUnsignedLong(void* pObj, 
00356         const AxisChar* pName, const AxisChar* pNamespace)
00357     { return ((IWrapperSoapDeSerializer*)pObj)->getElementAsUnsignedLong(pName,
00358     pNamespace);};
00359     static float AXISCALL s_GetElementAsFloat(void* pObj, 
00360         const AxisChar* pName, const AxisChar* pNamespace)
00361     { return ((IWrapperSoapDeSerializer*)pObj)->getElementAsFloat(pName, 
00362     pNamespace);};
00363     static double AXISCALL s_GetElementAsDouble(void* pObj, 
00364         const AxisChar* pName, const AxisChar* pNamespace)
00365     { return ((IWrapperSoapDeSerializer*)pObj)->getElementAsDouble(pName, 
00366     pNamespace);};
00367     static double AXISCALL s_GetElementAsDecimal(void* pObj, 
00368         const AxisChar* pName, const AxisChar* pNamespace)
00369     { return ((IWrapperSoapDeSerializer*)pObj)->getElementAsDouble(pName, 
00370     pNamespace);};
00371     static AxisChar* AXISCALL s_GetElementAsString(void* pObj, 
00372         const AxisChar* pName, const AxisChar* pNamespace)
00373     { return ((IWrapperSoapDeSerializer*)pObj)->getElementAsString(pName, 
00374     pNamespace);};
00375     static AxisChar* AXISCALL s_GetElementAsAnyURI(void* pObj, 
00376         const AxisChar* pName, const AxisChar* pNamespace)
00377     { return ((IWrapperSoapDeSerializer*)pObj)->getElementAsAnyURI(pName, 
00378     pNamespace);};
00379     static AxisChar* AXISCALL s_GetElementAsQName(void* pObj, 
00380         const AxisChar* pName, const AxisChar* pNamespace)
00381     { return ((IWrapperSoapDeSerializer*)pObj)->getElementAsQName(pName, 
00382     pNamespace);};
00383     static xsd__hexBinary AXISCALL s_GetElementAsHexBinary(void* pObj, 
00384         const AxisChar* pName, const AxisChar* pNamespace)
00385     { return ((IWrapperSoapDeSerializer*)pObj)->getElementAsHexBinary(pName, 
00386     pNamespace);};
00387     static xsd__base64Binary AXISCALL s_GetElementAsBase64Binary(void* pObj, 
00388         const AxisChar* pName, const AxisChar* pNamespace)
00389     { return ((IWrapperSoapDeSerializer*)pObj)->getElementAsBase64Binary(pName,
00390     pNamespace);};
00391     static struct tm AXISCALL s_GetElementAsDateTime(void* pObj, 
00392         const AxisChar* pName, const AxisChar* pNamespace)
00393     { return ((IWrapperSoapDeSerializer*)pObj)->getElementAsDateTime(pName, 
00394     pNamespace);};
00395     static struct tm AXISCALL s_GetElementAsDate(void* pObj, 
00396         const AxisChar* pName, const AxisChar* pNamespace)
00397     { return ((IWrapperSoapDeSerializer*)pObj)->getElementAsDate(pName, 
00398     pNamespace);};
00399     static struct tm AXISCALL s_GetElementAsTime(void* pObj, 
00400         const AxisChar* pName, const AxisChar* pNamespace)
00401     { return ((IWrapperSoapDeSerializer*)pObj)->getElementAsTime(pName, 
00402     pNamespace);};
00403     static long AXISCALL s_GetElementAsDuration(void* pObj, 
00404         const AxisChar* pName, const AxisChar* pNamespace)
00405     { return ((IWrapperSoapDeSerializer*)pObj)->getElementAsDuration(pName, 
00406     pNamespace);};
00407     static int AXISCALL s_GetAttributeAsInt(void* pObj, const AxisChar* pName, 
00408         const AxisChar* pNamespace)
00409     { return ((IWrapperSoapDeSerializer*)pObj)->getAttributeAsInt(pName, 
00410     pNamespace);};
00411     static xsd__boolean AXISCALL s_GetAttributeAsBoolean(void* pObj, 
00412         const AxisChar* pName, const AxisChar* pNamespace)
00413     { return ((IWrapperSoapDeSerializer*)pObj)->getAttributeAsBoolean(pName, 
00414     pNamespace);};
00415     static unsigned int AXISCALL s_GetAttributeAsUnsignedInt(void* pObj, 
00416         const AxisChar* pName, const AxisChar* pNamespace)
00417     { return ((IWrapperSoapDeSerializer*)pObj)->getAttributeAsUnsignedInt
00418     (pName, pNamespace);};
00419     static short AXISCALL s_GetAttributeAsShort(void* pObj, 
00420         const AxisChar* pName, const AxisChar* pNamespace)
00421     { return ((IWrapperSoapDeSerializer*)pObj)->getAttributeAsShort(pName, 
00422     pNamespace);};
00423     static unsigned short AXISCALL s_GetAttributeAsUnsignedShort(void* pObj, 
00424         const AxisChar* pName, const AxisChar* pNamespace)
00425     { return ((IWrapperSoapDeSerializer*)pObj)->getAttributeAsUnsignedShort
00426     (pName, pNamespace);};
00427     static char AXISCALL s_GetAttributeAsByte(void* pObj, 
00428         const AxisChar* pName, const AxisChar* pNamespace)
00429     { return ((IWrapperSoapDeSerializer*)pObj)->getAttributeAsByte(pName, 
00430     pNamespace);};
00431     static unsigned char AXISCALL s_GetAttributeAsUnsignedByte(void* pObj, 
00432         const AxisChar* pName, const AxisChar* pNamespace)
00433     { return ((IWrapperSoapDeSerializer*)pObj)->getAttributeAsUnsignedByte
00434     (pName, pNamespace);};
00435     static long AXISCALL s_GetAttributeAsLong(void* pObj, 
00436         const AxisChar* pName, const AxisChar* pNamespace)
00437     { return ((IWrapperSoapDeSerializer*)pObj)->getAttributeAsLong(pName, 
00438     pNamespace);};
00439     static long AXISCALL s_GetAttributeAsInteger(void* pObj, 
00440         const AxisChar* pName, const AxisChar* pNamespace)
00441     { return ((IWrapperSoapDeSerializer*)pObj)->getAttributeAsInteger(pName, 
00442     pNamespace);};
00443     static unsigned long AXISCALL s_GetAttributeAsUnsignedLong(void* pObj, 
00444         const AxisChar* pName, const AxisChar* pNamespace)
00445     { return ((IWrapperSoapDeSerializer*)pObj)->getAttributeAsUnsignedLong
00446     (pName, pNamespace);};
00447     static float AXISCALL s_GetAttributeAsFloat(void* pObj, 
00448         const AxisChar* pName, const AxisChar* pNamespace)
00449     { return ((IWrapperSoapDeSerializer*)pObj)->getAttributeAsFloat(pName, 
00450     pNamespace);};
00451     static double AXISCALL s_GetAttributeAsDouble(void* pObj, 
00452         const AxisChar* pName, const AxisChar* pNamespace)
00453     { return ((IWrapperSoapDeSerializer*)pObj)->getAttributeAsDouble(pName, 
00454     pNamespace);};
00455     static double AXISCALL s_GetAttributeAsDecimal(void* pObj, 
00456         const AxisChar* pName, const AxisChar* pNamespace)
00457     { return ((IWrapperSoapDeSerializer*)pObj)->getAttributeAsDecimal(pName, 
00458     pNamespace);};
00459     static AxisChar* AXISCALL s_GetAttributeAsString(void* pObj, 
00460         const AxisChar* pName, const AxisChar* pNamespace)
00461     { return ((IWrapperSoapDeSerializer*)pObj)->getAttributeAsString(pName, 
00462     pNamespace);};
00463     static AxisChar* AXISCALL s_GetAttributeAsAnyURI(void* pObj, 
00464         const AxisChar* pName, const AxisChar* pNamespace)
00465     { return ((IWrapperSoapDeSerializer*)pObj)->getAttributeAsAnyURI(pName, 
00466     pNamespace);};
00467     static AxisChar* AXISCALL s_GetAttributeAsQName(void* pObj, 
00468         const AxisChar* pName, const AxisChar* pNamespace)
00469     { return ((IWrapperSoapDeSerializer*)pObj)->getAttributeAsQName(pName, 
00470     pNamespace);};
00471     static xsd__hexBinary AXISCALL s_GetAttributeAsHexBinary(void* pObj, 
00472         const AxisChar* pName, const AxisChar* pNamespace)
00473     { return ((IWrapperSoapDeSerializer*)pObj)->getAttributeAsHexBinary(pName, 
00474     pNamespace);};
00475     static xsd__base64Binary AXISCALL s_GetAttributeAsBase64Binary(void* pObj, 
00476         const AxisChar* pName, const AxisChar* pNamespace)
00477     { return ((IWrapperSoapDeSerializer*)pObj)->getAttributeAsBase64Binary
00478     (pName, pNamespace);};
00479     static struct tm AXISCALL s_GetAttributeAsDateTime(void* pObj, 
00480         const AxisChar* pName, const AxisChar* pNamespace)
00481     { return ((IWrapperSoapDeSerializer*)pObj)->getAttributeAsDateTime(pName, 
00482     pNamespace);};
00483     static struct tm AXISCALL s_GetAttributeAsDate(void* pObj, 
00484         const AxisChar* pName, const AxisChar* pNamespace)
00485     { return ((IWrapperSoapDeSerializer*)pObj)->getAttributeAsDate(pName, 
00486     pNamespace);};
00487     static struct tm AXISCALL s_GetAttributeAsTime(void* pObj, 
00488         const AxisChar* pName, const AxisChar* pNamespace)
00489     { return ((IWrapperSoapDeSerializer*)pObj)->getAttributeAsTime(pName, 
00490     pNamespace);};
00491     static long AXISCALL s_GetAttributeAsDuration(void* pObj, 
00492         const AxisChar* pName, const AxisChar* pNamespace)
00493     { return ((IWrapperSoapDeSerializer*)pObj)->getAttributeAsDuration(pName, 
00494     pNamespace);};
00495     static int AXISCALL s_GetStatus(void* pObj)
00496     { return ((IWrapperSoapDeSerializer*)pObj)->getStatus();};
00497         static  AnyType* AXISCALL s_GetAnyObject(void* pObj)
00498         { return ((IWrapperSoapDeSerializer*)pObj)->getAnyObject();};
00499 
00500     static void s_Initialize()
00501     {
00502         ms_VFtable.checkMessageBody = s_CheckMessageBody;
00503         ms_VFtable.checkForFault = s_CheckForFault;
00504         ms_VFtable.getCmplxArray = s_GetCmplxArray;
00505         ms_VFtable.getBasicArray = s_GetBasicArray;
00506         ms_VFtable.getCmplxObject = s_GetCmplxObject;
00507         ms_VFtable.getElementAsInt = s_GetElementAsInt;
00508         ms_VFtable.getFaultDetail = s_GetFaultDetail;
00509         ms_VFtable.getElementAsBoolean = s_GetElementAsBoolean;
00510         ms_VFtable.getElementAsUnsignedInt = s_GetElementAsUnsignedInt;
00511         ms_VFtable.getElementAsShort = s_GetElementAsShort;
00512         ms_VFtable.getElementAsUnsignedShort = s_GetElementAsUnsignedShort;
00513         ms_VFtable.getElementAsByte = s_GetElementAsByte;
00514         ms_VFtable.getElementAsUnsignedByte = s_GetElementAsUnsignedByte;
00515         ms_VFtable.getElementAsLong = s_GetElementAsLong;
00516         ms_VFtable.getElementAsInteger = s_GetElementAsInteger;
00517         ms_VFtable.getElementAsUnsignedLong = s_GetElementAsUnsignedLong;
00518         ms_VFtable.getElementAsFloat = s_GetElementAsFloat;
00519         ms_VFtable.getElementAsDouble = s_GetElementAsDouble;
00520         ms_VFtable.getElementAsDecimal = s_GetElementAsDecimal;
00521         ms_VFtable.getElementAsString = s_GetElementAsString;
00522         ms_VFtable.getElementAsAnyURI = s_GetElementAsAnyURI;
00523         ms_VFtable.getElementAsQName = s_GetElementAsQName;
00524         ms_VFtable.getElementAsHexBinary = s_GetElementAsHexBinary;
00525         ms_VFtable.getElementAsBase64Binary = s_GetElementAsBase64Binary;
00526         ms_VFtable.getElementAsDateTime = s_GetElementAsDateTime;
00527         ms_VFtable.getElementAsDate = s_GetElementAsDate;
00528         ms_VFtable.getElementAsTime = s_GetElementAsTime;
00529         ms_VFtable.getElementAsDuration = s_GetElementAsDuration;
00530         ms_VFtable.getAttributeAsInt = s_GetAttributeAsInt;
00531         ms_VFtable.getAttributeAsBoolean = s_GetAttributeAsBoolean;
00532         ms_VFtable.getAttributeAsUnsignedInt = s_GetAttributeAsUnsignedInt;
00533         ms_VFtable.getAttributeAsShort = s_GetAttributeAsShort;
00534         ms_VFtable.getAttributeAsUnsignedShort = s_GetAttributeAsUnsignedShort;
00535         ms_VFtable.getAttributeAsByte = s_GetAttributeAsByte;
00536         ms_VFtable.getAttributeAsUnsignedByte = s_GetAttributeAsUnsignedByte;
00537         ms_VFtable.getAttributeAsLong = s_GetAttributeAsLong;
00538         ms_VFtable.getAttributeAsInteger = s_GetAttributeAsInteger;
00539         ms_VFtable.getAttributeAsUnsignedLong = s_GetAttributeAsUnsignedLong;
00540         ms_VFtable.getAttributeAsFloat = s_GetAttributeAsFloat;
00541         ms_VFtable.getAttributeAsDouble = s_GetAttributeAsDouble;
00542         ms_VFtable.getAttributeAsDecimal = s_GetAttributeAsDecimal;
00543         ms_VFtable.getAttributeAsString = s_GetAttributeAsString;
00544         ms_VFtable.getAttributeAsAnyURI = s_GetAttributeAsAnyURI;
00545         ms_VFtable.getAttributeAsQName = s_GetAttributeAsQName;
00546         ms_VFtable.getAttributeAsHexBinary = s_GetAttributeAsHexBinary;
00547         ms_VFtable.getAttributeAsBase64Binary = s_GetAttributeAsBase64Binary;
00548         ms_VFtable.getAttributeAsDateTime = s_GetAttributeAsDateTime;
00549         ms_VFtable.getAttributeAsDate = s_GetAttributeAsDate;
00550         ms_VFtable.getAttributeAsTime = s_GetAttributeAsTime;
00551         ms_VFtable.getAttributeAsDuration = s_GetAttributeAsDuration;
00552         ms_VFtable.getStatus = s_GetStatus;
00553                 ms_VFtable.getAnyObject = s_GetAnyObject;
00554     }
00555 };
00556 #endif
00557 
00558 #endif

Generated on Tue Jun 29 09:27:56 2004 for AxisC++ by doxygen1.2.18