libstdc++
|
#include <pat_trie_base.hpp>
Public Types | |
typedef value_type | const_reference |
typedef trivial_iterator_difference_type | difference_type |
typedef trivial_iterator_tag | iterator_category |
typedef rebind_traits< _Alloc, metadata_type >::const_reference | metadata_const_reference |
typedef Node::metadata_type | metadata_type |
typedef value_type | reference |
typedef _Alloc::size_type | size_type |
typedef _CIterator | value_type |
Public Member Functions | |
_Node_citer (node_pointer p_nd=0, a_const_pointer p_traits=0) | |
_Node_citer | get_child (size_type i) const |
metadata_const_reference | get_metadata () const |
size_type | num_children () const |
bool | operator!= (const _Node_citer &other) const |
const_reference | operator* () const |
bool | operator== (const _Node_citer &other) const |
std::pair< a_const_iterator, a_const_iterator > | valid_prefix () const |
Public Attributes | |
node_pointer | m_p_nd |
a_const_pointer | m_p_traits |
Protected Types | |
typedef Node::a_const_iterator | a_const_iterator |
typedef Node::a_const_pointer | a_const_pointer |
typedef rebind_traits< _Alloc, Inode >::const_pointer | inode_const_pointer |
typedef rebind_traits< _Alloc, Inode >::pointer | inode_pointer |
typedef rebind_traits< _Alloc, Leaf >::const_pointer | leaf_const_pointer |
typedef rebind_traits< _Alloc, Leaf >::pointer | leaf_pointer |
typedef rebind_traits< _Alloc, Node >::pointer | node_pointer |
Node const iterator.
Definition at line 810 of file pat_trie_base.hpp.
|
protected |
Definition at line 822 of file pat_trie_base.hpp.
|
protected |
Definition at line 821 of file pat_trie_base.hpp.
typedef value_type __gnu_pbds::detail::pat_trie_base::_Node_citer< Node, Leaf, Head, Inode, _CIterator, Iterator, _Alloc >::const_reference |
Definition at line 856 of file pat_trie_base.hpp.
typedef trivial_iterator_difference_type __gnu_pbds::detail::pat_trie_base::_Node_citer< Node, Leaf, Head, Inode, _CIterator, Iterator, _Alloc >::difference_type |
Definition at line 851 of file pat_trie_base.hpp.
|
protected |
Definition at line 819 of file pat_trie_base.hpp.
|
protected |
Definition at line 818 of file pat_trie_base.hpp.
typedef trivial_iterator_tag __gnu_pbds::detail::pat_trie_base::_Node_citer< Node, Leaf, Head, Inode, _CIterator, Iterator, _Alloc >::iterator_category |
Definition at line 850 of file pat_trie_base.hpp.
|
protected |
Definition at line 816 of file pat_trie_base.hpp.
|
protected |
Definition at line 815 of file pat_trie_base.hpp.
typedef rebind_traits<_Alloc,metadata_type>::const_reference __gnu_pbds::detail::pat_trie_base::_Node_citer< Node, Leaf, Head, Inode, _CIterator, Iterator, _Alloc >::metadata_const_reference |
Const metadata reference type.
Definition at line 862 of file pat_trie_base.hpp.
typedef Node::metadata_type __gnu_pbds::detail::pat_trie_base::_Node_citer< Node, Leaf, Head, Inode, _CIterator, Iterator, _Alloc >::metadata_type |
Metadata type.
Definition at line 859 of file pat_trie_base.hpp.
|
protected |
Definition at line 813 of file pat_trie_base.hpp.
typedef value_type __gnu_pbds::detail::pat_trie_base::_Node_citer< Node, Leaf, Head, Inode, _CIterator, Iterator, _Alloc >::reference |
Definition at line 855 of file pat_trie_base.hpp.
typedef _Alloc::size_type __gnu_pbds::detail::pat_trie_base::_Node_citer< Node, Leaf, Head, Inode, _CIterator, Iterator, _Alloc >::size_type |
Definition at line 852 of file pat_trie_base.hpp.
typedef _CIterator __gnu_pbds::detail::pat_trie_base::_Node_citer< Node, Leaf, Head, Inode, _CIterator, Iterator, _Alloc >::value_type |
Definition at line 854 of file pat_trie_base.hpp.
|
inline |
Definition at line 865 of file pat_trie_base.hpp.
|
inline |
Returns a __const node __iterator to the corresponding node's i-th child.
Definition at line 902 of file pat_trie_base.hpp.
References std::advance().
|
inline |
Metadata access.
Definition at line 885 of file pat_trie_base.hpp.
|
inline |
Returns the number of children in the corresponding node.
Definition at line 890 of file pat_trie_base.hpp.
References std::distance().
Referenced by __gnu_pbds::detail::pat_trie_base::_Node_citer< Node, Leaf, Head, Inode, _CIterator, Iterator, _Alloc >::operator*(), and __gnu_pbds::detail::pat_trie_base::_Node_iter< Node, Leaf, Head, Inode, _CIterator, Iterator, _Alloc >::operator*().
|
inline |
Compares content (negatively) to a different iterator object.
Definition at line 918 of file pat_trie_base.hpp.
|
inline |
Const access; returns the __const iterator* associated with the current leaf.
Definition at line 877 of file pat_trie_base.hpp.
|
inline |
Compares content to a different iterator object.
Definition at line 913 of file pat_trie_base.hpp.
|
inline |
Subtree valid prefix.
Definition at line 871 of file pat_trie_base.hpp.
node_pointer __gnu_pbds::detail::pat_trie_base::_Node_citer< Node, Leaf, Head, Inode, _CIterator, Iterator, _Alloc >::m_p_nd |
Definition at line 921 of file pat_trie_base.hpp.
a_const_pointer __gnu_pbds::detail::pat_trie_base::_Node_citer< Node, Leaf, Head, Inode, _CIterator, Iterator, _Alloc >::m_p_traits |
Definition at line 922 of file pat_trie_base.hpp.