| FreeLing
    4.0
    | 
############################################################# /// More...
#include <tree.h>

| Public Member Functions | |
| basic_tree_iterator () | |
| =================================================== Iterator operations implementations =================================================== | |
| ~basic_tree_iterator () | |
| const T & | operator* () const | 
| basic const iterator operations | |
| const T * | operator-> () const | 
| const T * | get_info () const | 
| emulate operator -> for java/python/perl APIS | |
| bool | operator== (const basic_tree_iterator &t) const | 
| bool | operator!= (const basic_tree_iterator &t) const | 
| bool | is_defined () const | 
| check whether the iterator points somewhere. | |
| bool | is_root () const | 
| access to tree operations via iterator | |
| bool | empty () const | 
| bool | has_ancestor (const tree< T > &p) const | 
| unsigned int | num_children () const | 
| const_tree_preorder_iterator< T > | get_parent () const | 
| get iterator to parent node | |
| const_tree_sibling_iterator< T > | nth_child (unsigned int n) const | 
| get nth child | |
| const tree< T > & | nth_child_ref (unsigned int n) const | 
| const_tree_preorder_iterator< T > | begin () const | 
| iterators | |
| const_tree_preorder_iterator< T > | end () const | 
| const_tree_sibling_iterator< T > | sibling_begin () const | 
| const_tree_sibling_iterator< T > | sibling_end () const | 
| const_tree_sibling_iterator< T > | sibling_rbegin () const | 
| const_tree_sibling_iterator< T > | sibling_rend () const | 
| Protected Attributes | |
| N * | tr | 
| Friends | |
| class | tree< T > | 
############################################################# ///
TREE ITERATORS
############################################################# /// Generic const iterator, to derive all the others. It has what is common to all iterators (the pointer, the const operations, and access to const operations of the underlying tree
| freeling::basic_tree_iterator< T, N >::basic_tree_iterator | ( | ) | 
=================================================== Iterator operations implementations ===================================================
---------------------------------------------------------------------------------- basic_tree_iterator -----------------------------------------------------------
| freeling::basic_tree_iterator< T, N >::~basic_tree_iterator | ( | ) | 
| const_tree_preorder_iterator< T > freeling::basic_tree_iterator< T, N >::begin | ( | ) | const | 
iterators
| bool freeling::basic_tree_iterator< T, N >::empty | ( | ) | const | 
| const_tree_preorder_iterator< T > freeling::basic_tree_iterator< T, N >::end | ( | ) | const | 
| const T * freeling::basic_tree_iterator< T, N >::get_info | ( | ) | const | 
emulate operator -> for java/python/perl APIS
Reimplemented in freeling::basic_nonconst_tree_iterator< T >.
| const_tree_preorder_iterator< T > freeling::basic_tree_iterator< T, N >::get_parent | ( | ) | const | 
get iterator to parent node
Referenced by freeling::parse_tree::C_commands(), freeling::mention::mention(), and freeling::mention::set_iterators().
| bool freeling::basic_tree_iterator< T, N >::has_ancestor | ( | const tree< T > & | p | ) | const | 
| bool freeling::basic_tree_iterator< T, N >::is_defined | ( | ) | const | 
check whether the iterator points somewhere.
| bool freeling::basic_tree_iterator< T, N >::is_root | ( | ) | const | 
access to tree operations via iterator
---------------------------------------------------------------------------------- const tree operations accessed via the iterator ------------------------------------------
Referenced by freeling::parse_tree::C_commands(), freeling::mention::mention(), and freeling::mention::set_iterators().
| const_tree_sibling_iterator< T > freeling::basic_tree_iterator< T, N >::nth_child | ( | unsigned int | n | ) | const | 
get nth child
| const tree< T > & freeling::basic_tree_iterator< T, N >::nth_child_ref | ( | unsigned int | n | ) | const | 
| unsigned int freeling::basic_tree_iterator< T, N >::num_children | ( | ) | const | 
Referenced by freeling::parse_tree::C_commands(), freeling::parse_tree::get_head_label(), freeling::parse_tree::get_head_position(), freeling::parse_tree::get_head_word(), freeling::tree< T >::get_leftmost_leaf(), freeling::tree< T >::get_rightmost_leaf(), freeling::dep_tree::PrintDepTree(), freeling::parse_tree::PrintTree(), and freeling::mention::set_tokens().
| bool freeling::basic_tree_iterator< T, N >::operator!= | ( | const basic_tree_iterator< T, N > & | t | ) | const | 
References freeling::basic_tree_iterator< T, N >::tr.
| const T & freeling::basic_tree_iterator< T, N >::operator* | ( | ) | const | 
basic const iterator operations
Reimplemented in freeling::basic_nonconst_tree_iterator< T >.
| const T * freeling::basic_tree_iterator< T, N >::operator-> | ( | ) | const | 
Reimplemented in freeling::basic_nonconst_tree_iterator< T >.
| bool freeling::basic_tree_iterator< T, N >::operator== | ( | const basic_tree_iterator< T, N > & | t | ) | const | 
References freeling::basic_tree_iterator< T, N >::tr.
| const_tree_sibling_iterator< T > freeling::basic_tree_iterator< T, N >::sibling_begin | ( | ) | const | 
Referenced by freeling::dep_tree::get_first_word(), freeling::parse_tree::get_head_label(), freeling::parse_tree::get_head_position(), freeling::parse_tree::get_head_word(), freeling::dep_tree::get_last_word(), freeling::tree< T >::get_leftmost_leaf(), freeling::dep_tree::PrintDepTree(), freeling::parse_tree::PrintTree(), freeling::mention::set_iterators(), and freeling::mention::set_tokens().
| const_tree_sibling_iterator< T > freeling::basic_tree_iterator< T, N >::sibling_end | ( | ) | const | 
Referenced by freeling::dep_tree::get_first_word(), freeling::parse_tree::get_head_label(), freeling::parse_tree::get_head_position(), freeling::parse_tree::get_head_word(), freeling::dep_tree::get_last_word(), freeling::dep_tree::PrintDepTree(), freeling::parse_tree::PrintTree(), and freeling::mention::set_tokens().
| const_tree_sibling_iterator< T > freeling::basic_tree_iterator< T, N >::sibling_rbegin | ( | ) | const | 
Referenced by freeling::tree< T >::get_rightmost_leaf().
| const_tree_sibling_iterator< T > freeling::basic_tree_iterator< T, N >::sibling_rend | ( | ) | const | 
| friend class tree< T >  [friend] | 
| N* freeling::basic_tree_iterator< T, N >::tr  [protected] | 
 1.7.6.1
 1.7.6.1