CrystalSpace

Public API Reference

csRedBlackTree< K, Allocator, Ordering >::ConstIterator Class Reference

Const iterator for tree. More...

#include <csutil/redblacktree.h>

List of all members.

Public Member Functions

bool HasNext () const
 Returns a boolean indicating whether or not the tree has more elements.
const K & Next ()
 Get the next element's value.

Friends

class csRedBlackTree

Detailed Description

template<typename K, typename Allocator = CS::Container::DefaultRedBlackTreeAllocator<K>, template< typename _K, typename K2 > class Ordering = CS::Container::RedBlackTreeOrderingTotal>
class csRedBlackTree< K, Allocator, Ordering >::ConstIterator

Const iterator for tree.

Definition at line 897 of file redblacktree.h.


Member Function Documentation

template<typename K, typename Allocator = CS::Container::DefaultRedBlackTreeAllocator<K>, template< typename _K, typename K2 > class Ordering = CS::Container::RedBlackTreeOrderingTotal>
bool csRedBlackTree< K, Allocator, Ordering >::ConstIterator::HasNext (  )  const [inline]

Returns a boolean indicating whether or not the tree has more elements.

Definition at line 901 of file redblacktree.h.

template<typename K, typename Allocator = CS::Container::DefaultRedBlackTreeAllocator<K>, template< typename _K, typename K2 > class Ordering = CS::Container::RedBlackTreeOrderingTotal>
const K& csRedBlackTree< K, Allocator, Ordering >::ConstIterator::Next (  )  [inline]

Get the next element's value.

Definition at line 907 of file redblacktree.h.


The documentation for this class was generated from the following file:

Generated for Crystal Space 2.1 by doxygen 1.6.1