woden_binding_fault_ref.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_BINDING_FAULT_REF_H
00018 #define WODEN_BINDING_FAULT_REF_H
00019 
00029 #include <woden.h>
00030 #include <woden_binding_fault_ref_element.h>
00031 #include <woden_nested_configurable.h>
00032 #include <axis2_qname.h>
00033 
00039 typedef union woden_binding_fault_ref_base woden_binding_fault_ref_base_t;
00040 typedef struct woden_binding_fault_ref woden_binding_fault_ref_t;
00041 typedef struct woden_binding_fault_ref_ops woden_binding_fault_ref_ops_t;
00042 
00043 
00044 #ifdef __cplusplus
00045 extern "C"
00046 {
00047 #endif
00048 
00049 struct woden_binding_fault_ref_ops
00050 {
00055     axis2_status_t (AXIS2_CALL *
00056     free) (void *binding_fault_ref,
00057             const axis2_env_t *env);
00058 
00059     axis2_hash_t *(AXIS2_CALL *
00060     super_objs) (void *binding_fault_ref,
00061             const axis2_env_t *env);
00062 
00063     woden_obj_types_t (AXIS2_CALL *
00064     type) (void *binding_fault_ref,
00065             const axis2_env_t *env);
00069     struct woden_nested_configurable *(AXIS2_CALL *
00070     get_base_impl) (
00071             void *binding_fault_ref,
00072             const axis2_env_t *env);
00073 
00074     void *(AXIS2_CALL *
00075     get_interface_fault_ref) (
00076             void *binding_fault_ref,
00077             const axis2_env_t *env);
00078 
00079     void *(AXIS2_CALL *
00080     to_element)  (
00081             void *binding_fault_ref,
00082             const axis2_env_t *env);
00083 
00084     /**************************************************************************
00085      *                      Non-API implementation methods
00086      **************************************************************************/
00087     axis2_status_t (AXIS2_CALL *
00088     set_interface_fault_ref_element)  (
00089             void *binding_fault_ref,
00090             const axis2_env_t *env,
00091             void *fault_ref);
00092 
00093     axis2_status_t (AXIS2_CALL *
00094     set_interface_fault_ref)  (
00095             void *binding_fault_ref,
00096             const axis2_env_t *env,
00097             void *fault_ref);
00098 
00099 };
00100 
00101 union woden_binding_fault_ref_base
00102 {
00103     woden_nested_configurable_t nested_configurable;
00104     woden_binding_fault_ref_element_t binding_fault_ref_element;
00105 };
00106 
00107 struct woden_binding_fault_ref
00108 {
00109     woden_binding_fault_ref_base_t base;
00110     woden_binding_fault_ref_ops_t *ops;
00111 };
00112 
00113 AXIS2_EXTERN woden_binding_fault_ref_t * AXIS2_CALL
00114 woden_binding_fault_ref_create(
00115         const axis2_env_t *env);
00116 
00117 
00118 /***************************Woden C Internal Methods***************************/
00119 AXIS2_EXTERN woden_binding_fault_ref_t * AXIS2_CALL
00120 woden_binding_fault_ref_to_binding_fault_ref_element(
00121         void *binding_fault_ref,
00122         const axis2_env_t *env);
00123 
00124 AXIS2_EXTERN woden_binding_fault_ref_t * AXIS2_CALL
00125 woden_binding_fault_ref_to_nested_configurable(
00126         void *binding_fault_ref,
00127         const axis2_env_t *env);
00128 
00129 AXIS2_EXTERN woden_binding_fault_ref_t * AXIS2_CALL
00130 woden_binding_fault_ref_to_configurable(
00131         void *binding_fault_ref,
00132         const axis2_env_t *env);
00133 
00134 AXIS2_EXTERN woden_binding_fault_ref_t * AXIS2_CALL
00135 woden_binding_fault_ref_to_wsdl_obj(
00136         void *binding_fault_ref,
00137         const axis2_env_t *env);
00138 
00139 AXIS2_EXTERN woden_binding_fault_ref_t * AXIS2_CALL
00140 woden_binding_fault_ref_to_nested_element(
00141         void *binding_fault_ref,
00142         const axis2_env_t *env);
00143 
00144 AXIS2_EXTERN woden_binding_fault_ref_t * AXIS2_CALL
00145 woden_binding_fault_ref_to_wsdl_component(
00146         void *binding_fault_ref,
00147         const axis2_env_t *env);
00148 
00149 AXIS2_EXTERN woden_binding_fault_ref_t * AXIS2_CALL
00150 woden_binding_fault_ref_to_configurable_element(
00151         void *binding_fault_ref,
00152         const axis2_env_t *env);
00153 
00154 AXIS2_EXTERN woden_binding_fault_ref_t * AXIS2_CALL
00155 woden_binding_fault_ref_to_documentable_element(
00156         void *binding_fault_ref,
00157         const axis2_env_t *env);
00158 
00159 AXIS2_EXTERN woden_binding_fault_ref_t * AXIS2_CALL
00160 woden_binding_fault_ref_to_documentable(
00161         void *binding_fault_ref,
00162         const axis2_env_t *env);
00163 
00164 
00165 AXIS2_EXTERN woden_binding_fault_ref_t * AXIS2_CALL
00166 woden_binding_fault_ref_to_attr_extensible(
00167         void *binding_fault_ref,
00168         const axis2_env_t *env);
00169 
00170 AXIS2_EXTERN woden_binding_fault_ref_t * AXIS2_CALL
00171 woden_binding_fault_ref_to_element_extensible(
00172         void *binding_fault_ref,
00173         const axis2_env_t *env);
00174 
00175 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00176 woden_binding_fault_ref_resolve_methods(
00177         woden_binding_fault_ref_t *binding_fault_ref,
00178         const axis2_env_t *env,
00179         woden_binding_fault_ref_t *binding_fault_ref_impl,
00180         axis2_hash_t *methods);
00181 /************************End of Woden C Internal Methods***********************/
00182 
00183 #define WODEN_BINDING_FAULT_REF_FREE(binding_fault_ref, env) \
00184       (((woden_binding_fault_ref_t *) binding_fault_ref)->ops->free(binding_fault_ref, env))
00185 
00186 #define WODEN_BINDING_FAULT_REF_SUPER_OBJS(binding_fault_ref, env) \
00187       (((woden_binding_fault_ref_t *) binding_fault_ref)->ops->super_objs(binding_fault_ref, env))
00188 
00189 #define WODEN_BINDING_FAULT_REF_TYPE(binding_fault_ref, env) \
00190       (((woden_binding_fault_ref_t *) binding_fault_ref)->ops->type(binding_fault_ref, env))
00191 
00192 #define WODEN_BINDING_FAULT_REF_GET_BASE_IMPL(binding_fault_ref, env) \
00193       (((woden_binding_fault_ref_t *) binding_fault_ref)->ops->get_base_impl(binding_fault_ref, env))
00194 
00195 #define WODEN_BINDING_FAULT_REF_GET_INTERFACE_FAULT_REF(binding_fault_ref, env) \
00196       (((woden_binding_fault_ref_t *) binding_fault_ref)->\
00197          get_interface_fault_ref(binding_fault_ref, env))
00198 
00199 #define WODEN_BINDING_FAULT_REF_TO_ELEMENT(binding_fault_ref, env) \
00200       (((woden_binding_fault_ref_t *) binding_fault_ref)->ops->\
00201          to_element(binding_fault_ref, env))
00202 
00203 #define WODEN_BINDING_FAULT_REF_SET_INTERFACE_FAULT_REF_ELEMENT(binding_fault_ref, env, fault_ref) \
00204       (((woden_binding_fault_ref_t *) binding_fault_ref)->ops->\
00205          set_interface_fault_ref_element(binding_fault_ref, env, fault_ref))
00206 
00207 #define WODEN_BINDING_FAULT_REF_SET_INTERFACE_FAULT_REF(binding_fault_ref, env, fault_ref) \
00208       (((woden_binding_fault_ref_t *) binding_fault_ref)->ops->\
00209          set_interface_fault_ref(binding_fault_ref, env, fault_ref))
00210 
00212 #ifdef __cplusplus
00213 }
00214 #endif
00215 #endif /* WODEN_BINDING_FAULT_REF_H */

Generated on Tue Oct 3 22:35:48 2006 for Axis2/C by  doxygen 1.4.7