CrystalSpace

Public API Reference

csSet< T, Allocator >::GlobalIterator Class Reference

An iterator class for the set. More...

#include <csutil/set.h>

List of all members.

Public Member Functions

 GlobalIterator (const GlobalIterator &o)
bool HasNext () const
 Returns a boolean indicating whether or not the set has more elements.
Next ()
 Get the next element's value.
GlobalIteratoroperator= (const GlobalIterator &o)

Protected Member Functions

 GlobalIterator (const csSet< T > *s)
 GlobalIterator ()

Protected Attributes

ParentIter iter

Friends

class csSet< T >


Detailed Description

template<class T, class Allocator = CS::Memory::AllocatorMalloc>
class csSet< T, Allocator >::GlobalIterator

An iterator class for the set.

Definition at line 49 of file set.h.


Member Function Documentation

template<class T, class Allocator = CS::Memory::AllocatorMalloc>
bool csSet< T, Allocator >::GlobalIterator::HasNext (  )  const [inline]

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

Definition at line 64 of file set.h.

References csSet< T, Allocator >::GlobalIterator::iter.

template<class T, class Allocator = CS::Memory::AllocatorMalloc>
T csSet< T, Allocator >::GlobalIterator::Next (  )  [inline]

Get the next element's value.

Definition at line 68 of file set.h.

References csSet< T, Allocator >::GlobalIterator::iter.


The documentation for this class was generated from the following file:
Generated for Crystal Space 1.0.2 by doxygen 1.4.7