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

xml_schema_attribute_group_ref.h

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 XML_SCHEMA_ATTRIBUTE_GROUP_REF_H
00018 #define XML_SCHEMA_ATTRIBUTE_GROUP_REF_H
00019 
00028 #include <axis2_qname.h>
00029 #include <xml_schema_particle.h>
00030 #include <xml_schema_obj_collection.h>
00031 #include <xml_schema_any_attribute.h>
00032 #include <xml_schema_content_processing.h>
00033 #include <xml_schema_simple_type.h>
00034 
00035 
00041 typedef struct xml_schema_attribute_group_ref 
00042                     xml_schema_attribute_group_ref_t;
00043 typedef struct xml_schema_attribute_group_ref_ops 
00044                 xml_schema_attribute_group_ref_ops_t;
00045 
00046 #ifdef __cplusplus
00047 extern "C"
00048 {
00049 #endif
00050 
00051 struct xml_schema_attribute_group_ref_ops
00052 {
00053     axis2_status_t (AXIS2_CALL *
00054     free) (
00055             void *grp_ref,
00056             const axis2_env_t *env);
00057             
00058     xml_schema_types_t (AXIS2_CALL *
00059     get_type)(
00060             void *grp_ref,
00061             const axis2_env_t *env);
00062           
00063     axis2_hash_t* (AXIS2_CALL *
00064     super_objs)(
00065             void *grp_ref,
00066             const axis2_env_t *env);
00067                                       
00068 
00069     xml_schema_annotated_t *(AXIS2_CALL *
00070     get_base_impl)(
00071             void *grp_ref,
00072             const axis2_env_t *env);
00073     
00074 
00075     axis2_qname_t* (AXIS2_CALL *
00076     get_ref_qname)(void *grp_ref,
00077               const axis2_env_t *env);
00078               
00079     axis2_status_t (AXIS2_CALL *
00080     set_ref_qname)(void *grp_ref,
00081               const axis2_env_t *env,
00082               axis2_qname_t *ref_name);
00083               
00084 };
00085 
00086 struct xml_schema_attribute_group_ref
00087 {
00088     xml_schema_annotated_t base;
00089     xml_schema_attribute_group_ref_ops_t *ops;
00090 };
00091 
00092 AXIS2_EXTERN xml_schema_attribute_group_ref_t * AXIS2_CALL
00093 xml_schema_attribute_group_ref_create(const axis2_env_t *env);
00094 
00095 /******************************* Macros *************************************************/ 
00096  
00097 #define XML_SCHEMA_ATTRIBUTE_GROUP_REF_FREE(grp_ref, env) \
00098       (((xml_schema_attribute_group_ref_t *) grp_ref)->ops->free(grp_ref, env))
00099 
00100 #define XML_SCHEMA_ATTRIBUTE_GROUP_REF_GET_BASE_IMPL(grp_ref, env) \
00101       (((xml_schema_attribute_group_ref_t *) grp_ref)->ops->get_base_impl(grp_ref, env))
00102 
00103 #define XML_SCHEMA_ATTRIBUTE_GROUP_REF_GET_TYPE(grp_ref, env) \
00104       (((xml_schema_attribute_group_ref_t *) grp_ref)->ops->get_type(grp_ref, env))
00105       
00106 #define XML_SCHEMA_ATTRIBUTE_GROUP_REF_SUPER_OBJS(grp_ref, env) \
00107       (((xml_schema_attribute_group_ref_t *) grp_ref)->ops->super_objs(grp_ref, env))
00108       
00109 
00110 #define XML_SCHEMA_ATTRIBUTE_GROUP_REF_GET_REF_QNAME(grp_ref, env) \
00111       (((xml_schema_attribute_group_ref_t *) grp_ref)->ops->\
00112           get_ref_qname(grp_ref, env))
00113 
00114 #define XML_SCHEMA_ATTRIBUTE_GROUP_REF_SET_REF_QNAME(grp_ref, env, ref_qname) \
00115       (((xml_schema_attribute_group_ref_t *) grp_ref)->ops->\
00116           set_ref_qname(grp_ref, env, ref_qname))
00117 
00118 /******************************* end macros ***********************************************/
00120 #ifdef __cplusplus
00121 }
00122 #endif
00123 #endif /* XML_SCHEMA_ATTRIBUTE_GROUP_REF_H */

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