axiom_child_element_iterator.h

Go to the documentation of this file.
00001 
00002 /*
00003  * Licensed to the Apache Software Foundation (ASF) under one or more
00004  * contributor license agreements.  See the NOTICE file distributed with
00005  * this work for additional information regarding copyright ownership.
00006  * The ASF licenses this file to You under the Apache License, Version 2.0
00007  * (the "License"); you may not use this file except in compliance with
00008  * the License.  You may obtain a copy of the License at
00009  *
00010  *      http://www.apache.org/licenses/LICENSE-2.0
00011  *
00012  * Unless required by applicable law or agreed to in writing, software
00013  * distributed under the License is distributed on an "AS IS" BASIS,
00014  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00015  * See the License for the specific language governing permissions and
00016  * limitations under the License.
00017  */
00018 
00019 #ifndef AXIOM_CHILD_ELEMENT_ITERATOR_H
00020 #define AXIOM_CHILD_ELEMENT_ITERATOR_H
00021 
00027 #include <axiom_node.h>
00028 #include <axiom_text.h>
00029 
00030 #ifdef __cplusplus
00031 extern "C"
00032 {
00033 #endif
00034 
00035     typedef struct axiom_child_element_iterator
00036                 axiom_child_element_iterator_t;
00037 
00044     AXIS2_EXTERN void AXIS2_CALL
00045     axiom_child_element_iterator_free(
00046         void *iterator,
00047         const axutil_env_t * env);
00048 
00056     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00057 
00058     axiom_child_element_iterator_remove(
00059         axiom_child_element_iterator_t * iterator,
00060         const axutil_env_t * env);
00061 
00067     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
00068 
00069     axiom_child_element_iterator_has_next(
00070         axiom_child_element_iterator_t * iterator,
00071         const axutil_env_t * env);
00072 
00077     AXIS2_EXTERN axiom_node_t *AXIS2_CALL
00078     axiom_child_element_iterator_next(
00079         axiom_child_element_iterator_t * iterator,
00080         const axutil_env_t * env);
00081 
00088     AXIS2_EXTERN axiom_child_element_iterator_t *AXIS2_CALL
00089 
00090     axiom_child_element_iterator_create(
00091         const axutil_env_t * env,
00092         axiom_node_t * current_child);
00093 
00094 #define AXIOM_CHILD_ELEMENT_ITERATOR_FREE(iterator, env) \
00095         axiom_child_element_iterator_free(iterator, env)
00096 
00097 #define AXIOM_CHILD_ELEMENT_ITERATOR_REMOVE(iterator, env) \
00098         axiom_child_element_iterator_remove(iterator, env)
00099 
00100 #define AXIOM_CHILD_ELEMENT_ITERATOR_HAS_NEXT(iterator, env) \
00101         axiom_child_element_iterator_has_next(iterator, env)
00102 
00103 #define AXIOM_CHILD_ELEMENT_ITERATOR_NEXT(iterator, env) \
00104         axiom_child_element_iterator_next(iterator, env)
00105 
00108 #ifdef __cplusplus
00109 }
00110 #endif
00111 
00112 #endif                          /* AXIOM_CHILD_ELEMENT_ITERATOR_H */

Generated on Wed Feb 27 19:55:34 2008 for Axis2/C by  doxygen 1.5.5