Main Page | File List | File Members

Serializer.h

Go to the documentation of this file.
00001 /* -*- mode: c++; -*-
00002  *-----------------------------------------------------------------------------
00003  * $RCSfile: Serializer.h,v $
00004  *
00005  * See Copyright for the status of this software.
00006  *
00007  * The OpenSOAP Project
00008  * http://opensoap.jp/
00009  *-----------------------------------------------------------------------------
00010  */
00011 #ifndef OpenSOAP_Serializer_H
00012 #define OpenSOAP_Serializer_H
00013 
00014 #include <OpenSOAP/String.h>
00015 
00022 #ifdef __cplusplus
00023 extern "C" {
00024 #endif /* __cplusplus */
00025 
00036     typedef int
00037     (*OpenSOAPSerializerFunc)(/* [in]  */ void *from_value,
00038                               /* [out] */ OpenSOAPStringPtr to);
00039 
00050     typedef int
00051     (*OpenSOAPDeserializerFunc)(/* [in]  */ OpenSOAPStringPtr from,
00052                                 /* [out] */ void *to_value);
00053 
00066     int
00067     OPENSOAP_API
00068     OpenSOAPSerializerRegisterMB(/* [in] */ const char *soap_typename,
00069                                  /* [in] */ OpenSOAPSerializerFunc serializer,
00070                                  /* [in] */ OpenSOAPDeserializerFunc deserializer);
00071 
00084     int
00085     OPENSOAP_API
00086     OpenSOAPSerializerRegisterWC(/* [in] */ const wchar_t *soap_typename,
00087                                  /* [in] */ OpenSOAPSerializerFunc serializer,
00088                                  /* [in] */ OpenSOAPDeserializerFunc deserializer);
00089 
00100     int
00101     OPENSOAP_API
00102     OpenSOAPGetSerializer(/* [in]  */ OpenSOAPStringPtr soap_typename,
00103                           /* [out] */ OpenSOAPSerializerFunc *serializer);
00104 
00115     int
00116     OPENSOAP_API
00117     OpenSOAPGetSerializerMB(/* [in]  */ const char *soap_typename,
00118                             /* [out] */ OpenSOAPSerializerFunc *serializer);
00119 
00130     int
00131     OPENSOAP_API
00132     OpenSOAPGetSerializerWC(/* [in]  */ const wchar_t *soap_typename,
00133                             /* [out] */ OpenSOAPSerializerFunc *serializer);
00134     
00145     int
00146     OPENSOAP_API
00147     OpenSOAPGetDeserializer(/* [in]  */ OpenSOAPStringPtr soap_typename,
00148                             /* [out] */ OpenSOAPDeserializerFunc *deserializer);
00149 
00160     int
00161     OPENSOAP_API
00162     OpenSOAPGetDeserializerMB(/* [in]  */ const char *soap_typename,
00163                               /* [out] */ OpenSOAPDeserializerFunc *deserializer);
00164 
00175     int
00176     OPENSOAP_API
00177     OpenSOAPGetDeserializerWC(/* [in]  */ const wchar_t *soap_typename,
00178                               /* [out] */ OpenSOAPDeserializerFunc *deserializer);
00179 
00186     int
00187     OPENSOAP_API
00188     OpenSOAPSerializerRegistDefaults(void);
00189     
00190 #ifdef __cplusplus
00191 }
00192 #endif /* __cplusplus */
00193 
00194 #endif /* OpenSOAP_Serializer_H */

Generated on Mon Oct 18 18:29:43 2004 for OpenSOAP by doxygen 1.3.6