woden_binding_op.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_OP_H
00018 #define WODEN_BINDING_OP_H
00019 
00028 #include <woden.h>
00029 #include <woden_binding_op_element.h>
00030 #include <woden_nested_configurable.h>
00031 #include <axis2_qname.h>
00032 
00038 typedef union woden_binding_op_base woden_binding_op_base_t;
00039 typedef struct woden_binding_op woden_binding_op_t;
00040 typedef struct woden_binding_op_ops woden_binding_op_ops_t;
00041 
00042 
00043 #ifdef __cplusplus
00044 extern "C"
00045 {
00046 #endif
00047 
00048 struct woden_binding_op_ops
00049 {
00054     axis2_status_t (AXIS2_CALL *
00055     free) (void *binding_op,
00056             const axis2_env_t *env);
00057 
00058     axis2_status_t (AXIS2_CALL *
00059     to_binding_op_free) (void *binding_op,
00060             const axis2_env_t *env);
00061     
00062     axis2_hash_t *(AXIS2_CALL *
00063     super_objs) (void *binding_op,
00064             const axis2_env_t *env);
00065 
00066     woden_obj_types_t (AXIS2_CALL *
00067     type) (void *binding_op,
00068             const axis2_env_t *env);
00072     struct woden_nested_configurable *(AXIS2_CALL *
00073     get_base_impl) (
00074             void *binding_op,
00075             const axis2_env_t *env);
00076 
00077     void *(AXIS2_CALL *
00078     get_interface_op) (
00079             void *binding_op,
00080             const axis2_env_t *env);
00081 
00082     axis2_array_list_t *(AXIS2_CALL *
00083     get_binding_msg_refs) (
00084             void *binding_op,
00085             const axis2_env_t *env);
00086 
00087     axis2_array_list_t *(AXIS2_CALL *
00088     get_binding_fault_refs) (
00089             void *binding_op,
00090             const axis2_env_t *env);
00091 
00092     void *(AXIS2_CALL *
00093     to_element)  (
00094             void *binding_op,
00095             const axis2_env_t *env);
00096 
00097     axis2_status_t (AXIS2_CALL *
00098     set_interface_op_element) (
00099             void *binding_op,
00100             const axis2_env_t *env,
00101             void *int_op);
00102 
00103 };
00104 
00105 union woden_binding_op_base
00106 {
00107     woden_nested_configurable_t nested_configurable;
00108     woden_binding_op_element_t binding_op_element;
00109 };
00110 
00111 struct woden_binding_op
00112 {
00113     woden_binding_op_base_t base;
00114     woden_binding_op_ops_t *ops;
00115 };
00116 
00117 AXIS2_EXTERN woden_binding_op_t * AXIS2_CALL
00118 woden_binding_op_create(
00119         const axis2_env_t *env);
00120 
00121 
00122 /***************************Woden C Internal Methods***************************/
00123 AXIS2_EXTERN woden_binding_op_t * AXIS2_CALL
00124 woden_binding_op_to_binding_op_element(
00125         void *binding_op,
00126         const axis2_env_t *env);
00127 
00128 AXIS2_EXTERN woden_binding_op_t * AXIS2_CALL
00129 woden_binding_op_to_nested_configurable(
00130         void *binding_op,
00131         const axis2_env_t *env);
00132 
00133 AXIS2_EXTERN woden_binding_op_t * AXIS2_CALL
00134 woden_binding_op_to_configurable(
00135         void *binding_op,
00136         const axis2_env_t *env);
00137 
00138 AXIS2_EXTERN woden_binding_op_t * AXIS2_CALL
00139 woden_binding_op_to_wsdl_obj(
00140         void *binding_op,
00141         const axis2_env_t *env);
00142 
00143 AXIS2_EXTERN woden_binding_op_t * AXIS2_CALL
00144 woden_binding_op_to_nested_element(
00145         void *binding_op,
00146         const axis2_env_t *env);
00147 
00148 AXIS2_EXTERN woden_binding_op_t * AXIS2_CALL
00149 woden_binding_op_to_wsdl_component(
00150         void *binding_op,
00151         const axis2_env_t *env);
00152 
00153 AXIS2_EXTERN woden_binding_op_t * AXIS2_CALL
00154 woden_binding_op_to_configurable_element(
00155         void *binding_op,
00156         const axis2_env_t *env);
00157 
00158 AXIS2_EXTERN woden_binding_op_t * AXIS2_CALL
00159 woden_binding_op_to_documentable_element(
00160         void *binding_op,
00161         const axis2_env_t *env);
00162 
00163 AXIS2_EXTERN woden_binding_op_t * AXIS2_CALL
00164 woden_binding_op_to_documentable(
00165         void *binding_op,
00166         const axis2_env_t *env);
00167 
00168 AXIS2_EXTERN woden_binding_op_t * AXIS2_CALL
00169 woden_binding_op_to_attr_extensible(
00170         void *binding_op,
00171         const axis2_env_t *env);
00172 
00173 AXIS2_EXTERN woden_binding_op_t * AXIS2_CALL
00174 woden_binding_op_to_element_extensible(
00175         void *binding_op,
00176         const axis2_env_t *env);
00177 
00178 
00179 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00180 woden_binding_op_resolve_methods(
00181         woden_binding_op_t *binding_op,
00182         const axis2_env_t *env,
00183         woden_binding_op_t *binding_op_impl,
00184         axis2_hash_t *methods);
00185 /************************End of Woden C Internal Methods***********************/
00186 
00187 #define WODEN_BINDING_OP_FREE(binding_op, env) \
00188       (((woden_binding_op_t *) binding_op)->ops->free(binding_op, env))
00189 
00190 #define WODEN_BINDING_OP_TO_BINDING_OP_FREE(binding_op, env) \
00191       (((woden_binding_op_t *) binding_op)->ops->to_binding_op_free(binding_op, env))
00192 
00193 #define WODEN_BINDING_OP_SUPER_OBJS(binding_op, env) \
00194       (((woden_binding_op_t *) binding_op)->ops->super_objs(binding_op, env))
00195 
00196 #define WODEN_BINDING_OP_TYPE(binding_op, env) \
00197       (((woden_binding_op_t *) binding_op)->ops->type(binding_op, env))
00198 
00199 #define WODEN_BINDING_OP_GET_BASE_IMPL(binding_op, env) \
00200       (((woden_binding_op_t *) binding_op)->ops->get_base_impl(binding_op, env))
00201 
00202 #define WODEN_BINDING_OP_GET_INTERFACE_OP(binding_op, env) \
00203       (((woden_binding_op_t *) binding_op)->ops->\
00204          get_interface_op(binding_op, env))
00205 
00206 #define WODEN_BINDING_OP_GET_BINDING_MSG_REFS(binding_op, env) \
00207       (((woden_binding_op_t *) binding_op)->ops->\
00208          get_binding_msg_refs(binding_op, env))
00209 
00210 #define WODEN_BINDING_OP_GET_BINDING_FAULT_REFS(binding_op, env) \
00211       (((woden_binding_op_t *) binding_op)->ops->\
00212          get_binding_fault_refs(binding_op, env))
00213 
00214 #define WODEN_BINDING_OP_TO_ELEMENT(binding_op, env) \
00215       (((woden_binding_op_t *) binding_op)->ops->\
00216          to_element(binding_op, env))
00217 
00218 #define WODEN_BINDING_OP_SET_INTERFACE_OP_ELEMENT(binding_op, env, int_op) \
00219       (((woden_binding_op_t *) binding_op)->ops->\
00220          set_interface_op_element(binding_op, env, int_op))
00221 
00223 #ifdef __cplusplus
00224 }
00225 #endif
00226 #endif /* WODEN_BINDING_OP_H */

Generated on Tue Oct 3 18:21:10 2006 for Axis2/C by  doxygen 1.4.7