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

xml_schema_content_processing.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 XML_SCHEMA_CONTENT_PROCESSING_H
00018 #define XML_SCHEMA_CONTENT_PROCESSING_H
00019 
00027 #include <xml_schema_defines.h>
00028 #include <xml_schema_enum.h>
00029 
00035 typedef struct xml_schema_content_processing 
00036         xml_schema_content_processing_t;
00037         
00038 typedef struct xml_schema_content_processing_ops 
00039         xml_schema_content_processing_ops_t;
00040 
00041 #ifdef __cplusplus
00042 extern "C"
00043 {
00044 #endif
00045 
00046 struct xml_schema_content_processing_ops
00047 {
00052     axis2_status_t (AXIS2_CALL *
00053     free) (void *content_processing,
00054             const axis2_env_t *env);
00055 
00056     axis2_hash_t *(AXIS2_CALL *
00057     super_objs) (void *content_processing,
00058             const axis2_env_t *env);
00059 
00060     xml_schema_types_t (AXIS2_CALL *
00061     get_type) (void *content_processing,
00062             const axis2_env_t *env);
00063 
00064     xml_schema_enum_t *(AXIS2_CALL *
00065     get_base_impl) (void *content_processing,
00066                     const axis2_env_t *env);
00067 
00068     axis2_array_list_t *(AXIS2_CALL *
00069     get_values)(void *content_processing,
00070                 const axis2_env_t *env);
00071     
00072 };
00073 
00074 struct xml_schema_content_processing
00075 {
00076     xml_schema_enum_t base;
00077     xml_schema_content_processing_ops_t *ops;
00078 };
00079 
00080 AXIS2_EXTERN xml_schema_content_processing_t * AXIS2_CALL
00081 xml_schema_content_processing_create(const axis2_env_t *env,
00082                                      const axis2_char_t* value);
00083 
00084 /*********************** macros ***********************************************/
00085 
00086 #define XML_SCHEMA_CONTENT_PROCESSING_FREE(content_processing, env) \
00087       (((xml_schema_content_processing_t *) content_processing)->ops->\
00088          free(content_processing, env))
00089 
00090 #define XML_SCHEMA_CONTENT_PROCESSING_SUPER_OBJS(content_processing, env) \
00091       (((xml_schema_content_processing_t *) content_processing)->ops->\
00092          super_objs(content_processing, env))
00093 
00094 #define XML_SCHEMA_CONTENT_PROCESSING_GET_TYPE(content_processing, env) \
00095       (((xml_schema_content_processing_t *) content_processing)->ops->\
00096          get_type(content_processing, env))
00097 
00098 
00099 #define XML_SCHEMA_CONTENT_PROCESSING_GET_BASE_IMPL(content_processing, env) \
00100       (((xml_schema_content_processing_t *) content_processing)->ops->\
00101          get_base_impl(content_processing, env))
00102 
00103 #define XML_SCHEMA_CONTENT_PROCESSING_GET_VALUES(content_processing, env) \
00104       (((xml_schema_content_processing_t *) content_processing)->ops->\
00105          get_values(content_processing, env))
00106 
00107 
00109 #ifdef __cplusplus
00110 }
00111 #endif
00112 #endif /* XML_SCHEMA_CONTENT_PROCESSING_H */

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