Main Page | File List | File Members

XMLAttr.h

Go to the documentation of this file.
00001 /* -*- mode: c++; -*-
00002  *-----------------------------------------------------------------------------
00003  * $RCSfile: XMLAttr.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_XMLAttr_H
00012 #define OpenSOAP_XMLAttr_H
00013 
00014 #include <OpenSOAP/XMLNamespace.h>
00015 
00022 #ifdef __cplusplus
00023 extern "C" {
00024 #endif /* __cplusplus */
00025 
00030     typedef struct tagOpenSOAPXMLAttr OpenSOAPXMLAttr;
00031 
00036     typedef OpenSOAPXMLAttr *OpenSOAPXMLAttrPtr;
00037 
00048     int
00049     OPENSOAP_API
00050     OpenSOAPXMLAttrCreateMB(const char * /* [in] */ attr_name,
00051                             OpenSOAPXMLAttrPtr * /* [out] */ attr);
00052 
00063     int
00064     OPENSOAP_API
00065     OpenSOAPXMLAttrCreateWC(const wchar_t * /* [in] */ attr_name,
00066                             OpenSOAPXMLAttrPtr * /* [out] */ attr);
00067 
00080     int
00081     OPENSOAP_API
00082     OpenSOAPXMLAttrSetNamespaceMB(OpenSOAPXMLAttrPtr /* [in, out] */ elm,
00083                                   const char * /* [in] */ ns_uri,
00084                                   const char * /* [in] */ ns_prefix);
00085 
00098     int
00099     OPENSOAP_API
00100     OpenSOAPXMLAttrSetNamespaceWC(OpenSOAPXMLAttrPtr /* [in, out] */ elm,
00101                                   const wchar_t * /* [in] */ ns_uri,
00102                                   const wchar_t * /* [in] */ ns_prefix);
00103 
00114     int
00115     OPENSOAP_API
00116     OpenSOAPXMLAttrGetNamespace(OpenSOAPXMLAttrPtr /* [in, out] */ elm,
00117                                 OpenSOAPXMLNamespacePtr * /* [out] */ ns);
00118 
00131     int
00132     OPENSOAP_API
00133     OpenSOAPXMLAttrGetValueMB(OpenSOAPXMLAttrPtr /* [in] */ elm,
00134                               const char * /* [in] */ type_name,
00135                               void * /* [out] */ value);
00136 
00149     int
00150     OPENSOAP_API
00151     OpenSOAPXMLAttrGetValueWC(OpenSOAPXMLAttrPtr /* [in] */ elm,
00152                               const wchar_t * /* [in] */ type_name,
00153                               void * /* [out] */ value);
00154 
00167     int
00168     OPENSOAP_API
00169     OpenSOAPXMLAttrSetValueMB(OpenSOAPXMLAttrPtr /* [in] */ elm,
00170                               const char * /* [in] */ type_name,
00171                               void * /* [in] */ value);
00172 
00185     int
00186     OPENSOAP_API
00187     OpenSOAPXMLAttrSetValueWC(OpenSOAPXMLAttrPtr /* [in] */ elm,
00188                               const wchar_t * /* [in] */ type_name,
00189                               void * /* [in] */ value);
00190     
00201     int
00202     OPENSOAP_API
00203     OpenSOAPXMLAttrGetName(OpenSOAPXMLAttrPtr /* [in] */ attr,
00204                            OpenSOAPStringPtr * /* [out] */ name);
00205 
00206 #ifdef __cplusplus
00207 }
00208 #endif /* __cplusplus */
00209 
00210 #endif /* OpenSOAP_XMLAttr_H */

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