woden_binding_fault_ref.h

Go to the documentation of this file.
00001 /*
00002  * Licensed to the Apache Software Foundation (ASF) under one or more
00003  * contributor license agreements.  See the NOTICE file distributed with
00004  * this work for additional information regarding copyright ownership.
00005  * The ASF licenses this file to You under the Apache License, Version 2.0
00006  * (the "License"); you may not use this file except in compliance with
00007  * the License.  You may obtain a copy of the License at
00008  *
00009  *      http://www.apache.org/licenses/LICENSE-2.0
00010  *
00011  * Unless required by applicable law or agreed to in writing, software
00012  * distributed under the License is distributed on an "AS IS" BASIS,
00013  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00014  * See the License for the specific language governing permissions and
00015  * limitations under the License.
00016  */
00017 
00018 #ifndef WODEN_BINDING_FAULT_REF_H
00019 #define WODEN_BINDING_FAULT_REF_H
00020 
00030 #include <woden.h>
00031 #include <woden_binding_fault_ref_element.h>
00032 #include <woden_nested_configurable.h>
00033 #include <axis2_qname.h>
00034 
00040 typedef union woden_binding_fault_ref_base woden_binding_fault_ref_base_t;
00041 typedef struct woden_binding_fault_ref woden_binding_fault_ref_t;
00042 typedef struct woden_binding_fault_ref_ops woden_binding_fault_ref_ops_t;
00043 
00044 
00045 #ifdef __cplusplus
00046 extern "C"
00047 {
00048 #endif
00049 
00050 struct woden_binding_fault_ref_ops
00051 {
00056     axis2_status_t (AXIS2_CALL *
00057     free) (void *binding_fault_ref,
00058             const axis2_env_t *env);
00059 
00060     axis2_hash_t *(AXIS2_CALL *
00061     super_objs) (void *binding_fault_ref,
00062             const axis2_env_t *env);
00063 
00064     woden_obj_types_t (AXIS2_CALL *
00065     type) (void *binding_fault_ref,
00066             const axis2_env_t *env);
00070     struct woden_nested_configurable *(AXIS2_CALL *
00071     get_base_impl) (
00072             void *binding_fault_ref,
00073             const axis2_env_t *env);
00074 
00075     void *(AXIS2_CALL *
00076     get_interface_fault_ref) (
00077             void *binding_fault_ref,
00078             const axis2_env_t *env);
00079 
00080     void *(AXIS2_CALL *
00081     to_element)  (
00082             void *binding_fault_ref,
00083             const axis2_env_t *env);
00084 
00085     /**************************************************************************
00086      *                      Non-API implementation methods
00087      **************************************************************************/
00088     axis2_status_t (AXIS2_CALL *
00089     set_interface_fault_ref_element)  (
00090             void *binding_fault_ref,
00091             const axis2_env_t *env,
00092             void *fault_ref);
00093 
00094     axis2_status_t (AXIS2_CALL *
00095     set_interface_fault_ref)  (
00096             void *binding_fault_ref,
00097             const axis2_env_t *env,
00098             void *fault_ref);
00099 
00100 };
00101 
00102 union woden_binding_fault_ref_base
00103 {
00104     woden_nested_configurable_t nested_configurable;
00105     woden_binding_fault_ref_element_t binding_fault_ref_element;
00106 };
00107 
00108 struct woden_binding_fault_ref
00109 {
00110     woden_binding_fault_ref_base_t base;
00111     woden_binding_fault_ref_ops_t *ops;
00112 };
00113 
00114 AXIS2_EXTERN woden_binding_fault_ref_t * AXIS2_CALL
00115 woden_binding_fault_ref_create(
00116         const axis2_env_t *env);
00117 
00118 
00119 /***************************Woden C Internal Methods***************************/
00120 AXIS2_EXTERN woden_binding_fault_ref_t * AXIS2_CALL
00121 woden_binding_fault_ref_to_binding_fault_ref_element(
00122         void *binding_fault_ref,
00123         const axis2_env_t *env);
00124 
00125 AXIS2_EXTERN woden_binding_fault_ref_t * AXIS2_CALL
00126 woden_binding_fault_ref_to_nested_configurable(
00127         void *binding_fault_ref,
00128         const axis2_env_t *env);
00129 
00130 AXIS2_EXTERN woden_binding_fault_ref_t * AXIS2_CALL
00131 woden_binding_fault_ref_to_configurable(
00132         void *binding_fault_ref,
00133         const axis2_env_t *env);
00134 
00135 AXIS2_EXTERN woden_binding_fault_ref_t * AXIS2_CALL
00136 woden_binding_fault_ref_to_wsdl_obj(
00137         void *binding_fault_ref,
00138         const axis2_env_t *env);
00139 
00140 AXIS2_EXTERN woden_binding_fault_ref_t * AXIS2_CALL
00141 woden_binding_fault_ref_to_nested_element(
00142         void *binding_fault_ref,
00143         const axis2_env_t *env);
00144 
00145 AXIS2_EXTERN woden_binding_fault_ref_t * AXIS2_CALL
00146 woden_binding_fault_ref_to_wsdl_component(
00147         void *binding_fault_ref,
00148         const axis2_env_t *env);
00149 
00150 AXIS2_EXTERN woden_binding_fault_ref_t * AXIS2_CALL
00151 woden_binding_fault_ref_to_configurable_element(
00152         void *binding_fault_ref,
00153         const axis2_env_t *env);
00154 
00155 AXIS2_EXTERN woden_binding_fault_ref_t * AXIS2_CALL
00156 woden_binding_fault_ref_to_documentable_element(
00157         void *binding_fault_ref,
00158         const axis2_env_t *env);
00159 
00160 AXIS2_EXTERN woden_binding_fault_ref_t * AXIS2_CALL
00161 woden_binding_fault_ref_to_documentable(
00162         void *binding_fault_ref,
00163         const axis2_env_t *env);
00164 
00165 
00166 AXIS2_EXTERN woden_binding_fault_ref_t * AXIS2_CALL
00167 woden_binding_fault_ref_to_attr_extensible(
00168         void *binding_fault_ref,
00169         const axis2_env_t *env);
00170 
00171 AXIS2_EXTERN woden_binding_fault_ref_t * AXIS2_CALL
00172 woden_binding_fault_ref_to_element_extensible(
00173         void *binding_fault_ref,
00174         const axis2_env_t *env);
00175 
00176 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00177 woden_binding_fault_ref_resolve_methods(
00178         woden_binding_fault_ref_t *binding_fault_ref,
00179         const axis2_env_t *env,
00180         woden_binding_fault_ref_t *binding_fault_ref_impl,
00181         axis2_hash_t *methods);
00182 /************************End of Woden C Internal Methods***********************/
00183 
00184 #define WODEN_BINDING_FAULT_REF_FREE(binding_fault_ref, env) \
00185       (((woden_binding_fault_ref_t *) binding_fault_ref)->ops->free(binding_fault_ref, env))
00186 
00187 #define WODEN_BINDING_FAULT_REF_SUPER_OBJS(binding_fault_ref, env) \
00188       (((woden_binding_fault_ref_t *) binding_fault_ref)->ops->super_objs(binding_fault_ref, env))
00189 
00190 #define WODEN_BINDING_FAULT_REF_TYPE(binding_fault_ref, env) \
00191       (((woden_binding_fault_ref_t *) binding_fault_ref)->ops->type(binding_fault_ref, env))
00192 
00193 #define WODEN_BINDING_FAULT_REF_GET_BASE_IMPL(binding_fault_ref, env) \
00194       (((woden_binding_fault_ref_t *) binding_fault_ref)->ops->get_base_impl(binding_fault_ref, env))
00195 
00196 #define WODEN_BINDING_FAULT_REF_GET_INTERFACE_FAULT_REF(binding_fault_ref, env) \
00197       (((woden_binding_fault_ref_t *) binding_fault_ref)->\
00198          get_interface_fault_ref(binding_fault_ref, env))
00199 
00200 #define WODEN_BINDING_FAULT_REF_TO_ELEMENT(binding_fault_ref, env) \
00201       (((woden_binding_fault_ref_t *) binding_fault_ref)->ops->\
00202          to_element(binding_fault_ref, env))
00203 
00204 #define WODEN_BINDING_FAULT_REF_SET_INTERFACE_FAULT_REF_ELEMENT(binding_fault_ref, env, fault_ref) \
00205       (((woden_binding_fault_ref_t *) binding_fault_ref)->ops->\
00206          set_interface_fault_ref_element(binding_fault_ref, env, fault_ref))
00207 
00208 #define WODEN_BINDING_FAULT_REF_SET_INTERFACE_FAULT_REF(binding_fault_ref, env, fault_ref) \
00209       (((woden_binding_fault_ref_t *) binding_fault_ref)->ops->\
00210          set_interface_fault_ref(binding_fault_ref, env, fault_ref))
00211 
00213 #ifdef __cplusplus
00214 }
00215 #endif
00216 #endif /* WODEN_BINDING_FAULT_REF_H */

Generated on Wed Dec 20 20:14:10 2006 for Axis2/C by  doxygen 1.5.1