# axiom_children_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_CHILDREN_ITERATOR_H
    00020 #define AXIOM_CHILDREN_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_children_iterator axiom_children_iterator_t;
    00036
    00049     AXIS2_EXTERN axiom_children_iterator_t *AXIS2_CALL
    00050
    00051     axiom_children_iterator_create(
    00052         const axutil_env_t * env,
    00053         axiom_node_t * current_child);
    00054
    00060     AXIS2_EXTERN void AXIS2_CALL
    00061     axiom_children_iterator_free(
    00062         axiom_children_iterator_t * iterator,
    00063         const axutil_env_t * env);
    00064
    00074     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00075     axiom_children_iterator_remove(
    00076         axiom_children_iterator_t * iterator,
    00077         const axutil_env_t * env);
    00078
    00087     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
    00088     axiom_children_iterator_has_next(
    00089         axiom_children_iterator_t * iterator,
    00090         const axutil_env_t * env);
    00091
    00098     AXIS2_EXTERN axiom_node_t *AXIS2_CALL
    00099     axiom_children_iterator_next(
    00100         axiom_children_iterator_t * iterator,
    00101         const axutil_env_t * env);
    00102
    00110     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00111     axiom_children_iterator_reset(
    00112         axiom_children_iterator_t * iterator,
    00113         const axutil_env_t * env);
    00114
    00115     /************ Macros *********************************************/
    00116
    00119 #ifdef __cplusplus
    00120 }
    00121 #endif
    00122
    00123 #endif                          /* AXIOM_CHILDREN_ITERATOR_H */