Main Page | File List | File Members

Block.h

Go to the documentation of this file.
00001 /* -*- mode: c++; -*-
00002  *-----------------------------------------------------------------------------
00003  * $RCSfile: Block.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_Block_H
00012 #define OpenSOAP_Block_H
00013 
00014 #include <OpenSOAP/XMLElm.h>
00015 #include <OpenSOAP/XMLNamespace.h>
00016 
00023 #ifdef __cplusplus
00024 extern "C" {
00025 #endif /* __cplusplus */
00026 
00031     typedef struct tagOpenSOAPBlock OpenSOAPBlock;
00032 
00037     typedef OpenSOAPBlock *OpenSOAPBlockPtr;
00038 
00051     int
00052     OPENSOAP_API
00053     OpenSOAPBlockGetValueMB(OpenSOAPBlockPtr /* [in] */ soap_block,
00054                             const char * /* [in] */ type_name,
00055                             void * /* [out] */ value);
00056 
00069     int
00070     OPENSOAP_API
00071     OpenSOAPBlockGetValueWC(OpenSOAPBlockPtr /* [in] */ soap_block,
00072                             const wchar_t * /* [in] */ type_name,
00073                             void * /* [out] */ value);
00074 
00087     int
00088     OPENSOAP_API
00089     OpenSOAPBlockSetValueMB(OpenSOAPBlockPtr /* [in] */ soap_block,
00090                             const char * /* [in] */ type_name,
00091                             void * /* [in] */ value);
00092 
00105     int
00106     OPENSOAP_API
00107     OpenSOAPBlockSetValueWC(OpenSOAPBlockPtr /* [in] */ soap_block,
00108                             const wchar_t * /* [in] */ type_name,
00109                             void * /* [in] */ value);
00110 
00123     int
00124     OPENSOAP_API
00125     OpenSOAPBlockSetNamespaceMB(OpenSOAPBlockPtr /* [in, out] */ soap_block,
00126                                 const char * /* [in] */ ns_uri,
00127                                 const char * /* [in] */ ns_prefix);
00128 
00141     int
00142     OPENSOAP_API
00143     OpenSOAPBlockSetNamespaceWC(OpenSOAPBlockPtr /* [in, out] */ soap_block,
00144                                 const wchar_t * /* [in] */ ns_uri,
00145                                 const wchar_t * /* [in] */ ns_prefix);
00146 
00157     int
00158     OPENSOAP_API
00159     OpenSOAPBlockGetNamespace(OpenSOAPBlockPtr /* [in, out] */ soap_block,
00160                               OpenSOAPXMLNamespacePtr * /* [out] */ ns);
00161 
00174     int
00175     OPENSOAP_API
00176     OpenSOAPBlockIsSameNamespaceMB(OpenSOAPBlockPtr /* [in] */ soap_block,
00177                                    const char * /* [in] */ ns_uri,
00178                                    int * /* [out] */ is_same_uri);
00179 
00192     int
00193     OPENSOAP_API
00194     OpenSOAPBlockIsSameNamespaceWC(OpenSOAPBlockPtr /* [in] */ soap_block,
00195                                    const wchar_t * /* [in] */ ns_uri,
00196                                    int * /* [out] */ is_same_uri);
00197 
00214     int
00215     OPENSOAP_API
00216     OpenSOAPBlockAddAttributeMB(OpenSOAPBlockPtr /* [in, out] */ soap_block,
00217                                 const char * /* [in] */ attr_name,
00218                                 const char * /* [in] */ attr_type,
00219                                 void * /* [in] */ attr_value,
00220                                 OpenSOAPXMLAttrPtr * /* [out] */ attr);
00221 
00238     int
00239     OPENSOAP_API
00240     OpenSOAPBlockAddAttributeWC(OpenSOAPBlockPtr /* [in, out] */ soap_block,
00241                                 const wchar_t * /* [in] */ attr_name,
00242                                 const wchar_t * /* [in] */ attr_type,
00243                                 void * /* [in] */ attr_value,
00244                                 OpenSOAPXMLAttrPtr * /* [out] */ attr);
00245 
00258     int
00259     OPENSOAP_API
00260     OpenSOAPBlockGetAttributeMB(OpenSOAPBlockPtr /* [in, out] */ soap_block,
00261                                 const char * /* [in] */ attr_name,
00262                                 OpenSOAPXMLAttrPtr * /* [out] */ attr);
00263     
00276     int
00277     OPENSOAP_API
00278     OpenSOAPBlockGetAttributeWC(OpenSOAPBlockPtr /* [in, out] */ soap_block,
00279                                 const wchar_t * /* [in] */ attr_name,
00280                                 OpenSOAPXMLAttrPtr * /* [out] */ attr);
00281     
00296     int
00297     OPENSOAP_API
00298     OpenSOAPBlockGetChildValueMB(OpenSOAPBlockPtr /* [in, out] */ soap_block,
00299                                  const char * /* [in] */ p_name,
00300                                  const char * /* [in] */ type_name,
00301                                  void * /* [out] */ value);
00302 
00317     int
00318     OPENSOAP_API
00319     OpenSOAPBlockGetChildValueWC(OpenSOAPBlockPtr /* [in, out] */ soap_block,
00320                                  const wchar_t * /* [in] */ p_name,
00321                                  const wchar_t * /* [in] */ type_name,
00322                                  void * /* [out] */ value);
00323 
00338     int
00339     OPENSOAP_API
00340     OpenSOAPBlockSetChildValueMB(OpenSOAPBlockPtr /* [in, out] */ soap_block,
00341                                  const char * /* [in] */ p_name,
00342                                  const char * /* [in] */ type_name,
00343                                  void * /* [in] */ value);
00344 
00359     int
00360     OPENSOAP_API
00361     OpenSOAPBlockSetChildValueWC(OpenSOAPBlockPtr /* [in, out] */ soap_block,
00362                                  const wchar_t * /* [in] */ p_name,
00363                                  const wchar_t * /* [in] */ type_name,
00364                                  void * /* [in] */ value);
00365 
00377     int
00378     OPENSOAP_API
00379     OpenSOAPBlockGetNextChild(OpenSOAPBlockPtr /* [in, out] */ soap_block,
00380                               OpenSOAPXMLElmPtr * /* [in, out] */ xml_elm);
00381 
00394     int
00395     OPENSOAP_API
00396     OpenSOAPBlockAddChildMB(OpenSOAPBlockPtr /* [in, out] */ soap_block,
00397                             const char * /* [in] */ elm_name,
00398                             OpenSOAPXMLElmPtr * /* [out] */ xml_elm);
00399 
00412     int
00413     OPENSOAP_API
00414     OpenSOAPBlockAddChildWC(OpenSOAPBlockPtr /* [in, out] */ soap_block,
00415                             const wchar_t * /* [in] */ elm_name,
00416                             OpenSOAPXMLElmPtr * /* [out] */ xml_elm);
00417 
00430     int
00431     OPENSOAP_API
00432     OpenSOAPBlockGetChildMB(OpenSOAPBlockPtr /* [in, out] */ soap_block,
00433                             const char * /* [in] */ elm_name,
00434                             OpenSOAPXMLElmPtr * /* [out] */ xml_elm);
00435 
00448     int
00449     OPENSOAP_API
00450     OpenSOAPBlockGetChildWC(OpenSOAPBlockPtr /* [in, out] */ soap_block,
00451                             const wchar_t * /* [in] */ elm_name,
00452                             OpenSOAPXMLElmPtr * /* [out] */ xml_elm);
00453 
00464     int
00465     OPENSOAP_API
00466     OpenSOAPBlockGetMustunderstandAttr(OpenSOAPBlockPtr /* [in] */ soap_block,
00467                                        int * /* [out] */ must_std);
00468 
00477     int
00478     OPENSOAP_API
00479     OpenSOAPBlockSetMustunderstandAttr(OpenSOAPBlockPtr /* [in, out] */ soap_block);
00480 
00489     int
00490     OPENSOAP_API
00491     OpenSOAPBlockClearMustunderstandAttr(OpenSOAPBlockPtr /* [in, out] */ soap_block);
00492 
00503     int
00504     OPENSOAP_API
00505     OpenSOAPBlockGetActorAttr(OpenSOAPBlockPtr /* [in] */ soap_block,
00506                               OpenSOAPStringPtr * /* [out] */ actor_url);
00507 
00518     int
00519     OPENSOAP_API
00520     OpenSOAPBlockSetActorAttrMB(OpenSOAPBlockPtr /* [in, out] */ soap_block,
00521                                 const char * /* [in] */ actor_url);
00522 
00533     int
00534     OPENSOAP_API
00535     OpenSOAPBlockSetActorAttrWC(OpenSOAPBlockPtr /* [in, out] */ soap_block,
00536                                 const wchar_t * /* [in] */ actor_url);
00537 
00546     int
00547     OPENSOAP_API
00548     OpenSOAPBlockClearActorAttr(OpenSOAPBlockPtr /* [in, out] */ soap_block);
00549 
00558     int
00559     OPENSOAP_API
00560     OpenSOAPBlockSetActorAttrNext(OpenSOAPBlockPtr /* [in, out] */ soap_block);
00561     
00572     int
00573     OPENSOAP_API
00574     OpenSOAPBlockIsActorAttrNext(OpenSOAPBlockPtr /* [in] */ soap_block,
00575                                  int * /* [out] */ is_actor_next);
00576 
00587     int
00588     OPENSOAP_API
00589     OpenSOAPBlockGetName(OpenSOAPBlockPtr /* [in] */ block,
00590                          OpenSOAPStringPtr * /* [out] */ name);
00591     
00604     int
00605     OPENSOAP_API
00606     OpenSOAPBlockGetCharEncodingString(OpenSOAPBlockPtr /* [in] */ soap_block,
00607                                         const char * /* [in] */ ch_enc,
00608                                         OpenSOAPByteArrayPtr /* [out] */ b_ary);
00609 #ifdef __cplusplus
00610 }
00611 #endif /* __cplusplus */
00612 
00613 #endif /* OpenSOAP_Block_H */

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