woden_wsdl10_binding_msg_ref_element.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_WSDL10_BINDING_MSG_REF_ELEMENT_H
00019 #define WODEN_WSDL10_BINDING_MSG_REF_ELEMENT_H
00020 
00028 #include <axis2_allocator.h>
00029 #include <axis2_env.h>
00030 #include <axis2_error.h>
00031 #include <axis2_string.h>
00032 #include <axis2_utils.h>
00033 #include <axis2_hash.h>
00034 #include <axis2_qname.h>
00035 #include <axis2_uri.h>
00036 #include <axis2_array_list.h>
00037 #include <woden.h>
00038 #include <woden_documentable_element.h>
00039 #include <woden_configurable_element.h>
00040 #include <woden_nested_element.h>
00041 
00042 #ifdef __cplusplus
00043 extern "C"
00044 {
00045 #endif
00046 
00047 typedef struct woden_wsdl10_binding_msg_ref_element woden_wsdl10_binding_msg_ref_element_t;
00048 typedef struct woden_wsdl10_binding_msg_ref_element_ops woden_wsdl10_binding_msg_ref_element_ops_t;
00049 typedef union woden_wsdl10_binding_msg_ref_element_base woden_wsdl10_binding_msg_ref_element_base_t;
00050 
00056 struct woden_wsdl10_binding_msg_ref_element_ops
00057 {
00062     axis2_status_t (AXIS2_CALL *
00063     free) (
00064             void *binding_msg_ref_element,
00065             const axis2_env_t *env);
00066  
00067     woden_obj_types_t (AXIS2_CALL *
00068     type) (
00069             void *binding_msg_ref_element,
00070             const axis2_env_t *env);
00071     
00072     axis2_status_t (AXIS2_CALL *
00073     set_qname) (
00074             void *iface_fault_ele,
00075             const axis2_env_t *env,
00076             axis2_qname_t *qname);
00077 
00078     axis2_qname_t *(AXIS2_CALL *
00079     get_qname) (
00080             void *iface_fault_ele,
00081             const axis2_env_t *env);
00082  
00083     axis2_status_t (AXIS2_CALL *
00084     set_direction) (
00085             void *iface_fault_ele,
00086             const axis2_env_t *env,
00087             void *dir);
00088 
00089     void *(AXIS2_CALL *
00090     get_direction) (
00091             void *iface_fault_ele,
00092             const axis2_env_t *env);
00093     
00094 
00095 };
00096 
00097 union woden_wsdl10_binding_msg_ref_element_base
00098 {
00099     woden_documentable_element_t documentable_element;
00100     woden_configurable_element_t configurable_element;
00101     woden_nested_element_t nested_element;
00102 };
00103 
00104 struct woden_wsdl10_binding_msg_ref_element
00105 {
00106     woden_wsdl10_binding_msg_ref_element_base_t base;
00107     woden_wsdl10_binding_msg_ref_element_ops_t *ops;
00108 };
00109 
00110 AXIS2_EXTERN woden_wsdl10_binding_msg_ref_element_t * AXIS2_CALL
00111 woden_wsdl10_binding_msg_ref_element_create(
00112         const axis2_env_t *env);
00113 
00114 /************************Woden C Internal Methods******************************/
00115 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00116 woden_wsdl10_binding_msg_ref_element_resolve_methods(
00117         woden_wsdl10_binding_msg_ref_element_t *binding_msg_ref_element,
00118         const axis2_env_t *env,
00119         axis2_hash_t *methods);
00120 /************************End of Woden C Internal Methods***********************/
00121 
00122 #define WODEN_WSDL10_BINDING_MSG_REF_ELEMENT_FREE(binding_msg_ref_element, env) \
00123       (((woden_wsdl10_binding_msg_ref_element_t *) binding_msg_ref_element)->ops->\
00124          free (binding_msg_ref_element, env))
00125 
00126 #define WODEN_WSDL10_BINDING_MSG_REF_ELEMENT_TYPE(binding_msg_ref_element, env) \
00127       (((woden_wsdl10_binding_msg_ref_element_t *) binding_msg_ref_element)->ops->\
00128          type (binding_msg_ref_element, env))
00129 
00130 #define WODEN_WSDL10_BINDING_MSG_REF_ELEMENT_SET_QNAME(binding_msg_ref_element, env, qname) \
00131       (((woden_wsdl10_binding_msg_ref_element_t *) binding_msg_ref_element)->ops->\
00132          set_qname (binding_msg_ref_element, env, qname))
00133 
00134 #define WODEN_WSDL10_BINDING_MSG_REF_ELEMENT_GET_QNAME(binding_msg_ref_element, env) \
00135       (((woden_wsdl10_binding_msg_ref_element_t *) binding_msg_ref_element)->ops->\
00136         get_qname  (binding_msg_ref_element, env))
00137 
00138 #define WODEN_WSDL10_BINDING_MSG_REF_ELEMENT_SET_DIRECTION(binding_msg_ref_element, env, dir) \
00139       (((woden_wsdl10_binding_msg_ref_element_t *) binding_msg_ref_element)->ops->\
00140          set_direction (binding_msg_ref_element, env, dir))
00141 
00142 #define WODEN_WSDL10_BINDING_MSG_REF_ELEMENT_GET_DIRECTION(binding_msg_ref_element, env) \
00143       (((woden_wsdl10_binding_msg_ref_element_t *) binding_msg_ref_element)->ops->\
00144          get_direction (binding_msg_ref_element, env))
00145 
00146 
00147 
00148 
00150 #ifdef __cplusplus
00151 }
00152 #endif
00153 #endif /* WODEN_WSDL10_BINDING_MSG_REF_ELEMENT_H */

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