Main Page | Modules | Class List | Directories | File List | Class Members | File Members | Examples

woden_soap_fault_subcodes.h

Go to the documentation of this file.
00001 /*
00002  * Copyright 2004,2005 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 #ifndef WODEN_SOAP_FAULT_SUBCODES_H
00018 #define WODEN_SOAP_FAULT_SUBCODES_H
00019 
00035 #include <axis2_allocator.h>
00036 #include <axis2_env.h>
00037 #include <axis2_error.h>
00038 #include <axis2_string.h>
00039 #include <axis2_utils.h>
00040 #include <axis2_hash.h>
00041 #include <axis2_qname.h>
00042 #include <woden.h>
00043 #include <axis2_array_list.h>
00044 
00045 #ifdef __cplusplus
00046 extern "C"
00047 {
00048 #endif
00049 
00050 typedef struct woden_soap_fault_subcodes woden_soap_fault_subcodes_t;
00051 typedef struct woden_soap_fault_subcodes_ops woden_soap_fault_subcodes_ops_t;
00052 struct woden_ext_element;
00053 
00059 struct woden_soap_fault_subcodes_ops
00060 {
00065     axis2_status_t (AXIS2_CALL *
00066     free) (
00067             void *soap_fault_subcodes,
00068             const axis2_env_t *env);
00069 
00070     axis2_bool_t (AXIS2_CALL *
00071     is_qnames) (
00072             void *soap_fault_subcodes,
00073             const axis2_env_t *env);
00074 
00075     axis2_bool_t (AXIS2_CALL *
00076     is_token) (
00077             void *soap_fault_subcodes,
00078             const axis2_env_t *env);
00079 
00080     axis2_array_list_t *(AXIS2_CALL *
00081     get_qnames) (
00082             void *soap_fault_subcodes,
00083             const axis2_env_t *env);
00084 
00085     axis2_char_t *(AXIS2_CALL *
00086     get_token) (
00087             void *soap_fault_subcodes,
00088             const axis2_env_t *env);
00089 
00090 
00091 };
00092 
00093 struct woden_soap_fault_subcodes
00094 {
00095     woden_soap_fault_subcodes_ops_t *ops;
00096     
00097 };
00098 
00099 AXIS2_EXTERN woden_soap_fault_subcodes_t * AXIS2_CALL
00100 woden_soap_fault_subcodes_create(
00101         const axis2_env_t *env,
00102         axis2_char_t *token,
00103         axis2_array_list_t *subcode_qns);
00104 
00105 AXIS2_EXTERN void * AXIS2_CALL
00106 woden_soap_fault_subcodes_get_soap_fault_subcodes_any(
00107         const axis2_env_t *env);
00108 
00109 #define WODEN_SOAP_FAULT_SUBCODES_FREE(soap_fault_subcodes, env) \
00110       (((woden_soap_fault_subcodes_t *) soap_fault_subcodes)->ops->\
00111          free (soap_fault_subcodes, env))
00112 
00113 #define WODEN_SOAP_FAULT_SUBCODES_IS_QNAMES(soap_fault_subcodes, env) \
00114       (((woden_soap_fault_subcodes_t *) soap_fault_subcodes)->ops->\
00115          is_qnames (soap_fault_subcodes, env))
00116 
00117 #define WODEN_SOAP_FAULT_SUBCODES_IS_TOKEN(soap_fault_subcodes, env) \
00118       (((woden_soap_fault_subcodes_t *) soap_fault_subcodes)->ops->\
00119          is_token (soap_fault_subcodes, env))
00120 
00121 #define WODEN_SOAP_FAULT_SUBCODES_GET_QNAMES(soap_fault_subcodes, env) \
00122       (((woden_soap_fault_subcodes_t *) soap_fault_subcodes)->ops->\
00123          get_qnames (soap_fault_subcodes, env))
00124 
00125 #define WODEN_SOAP_FAULT_SUBCODES_GET_TOKEN(soap_fault_subcodes, env) \
00126       (((woden_soap_fault_subcodes_t *) soap_fault_subcodes)->ops->\
00127          get_token (soap_fault_subcodes, env))
00128 
00129 
00131 #ifdef __cplusplus
00132 }
00133 #endif
00134 #endif /* WODEN_SOAP_FAULT_SUBCODES_H */

Generated on Fri Jun 16 18:02:32 2006 for Axis2/C by  doxygen 1.4.2