Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

ustl::index_iterate< RandomAccessIterator, IndexIterator > Class Template Reference
[Iterator Adaptors]

Allows iteration through an index container. More...

#include <ustl.h>

List of all members.

Public Types

typedef RandomAccessIterator value_type
typedef ptrdiff_t difference_type
typedef RandomAccessIterator * pointer
typedef RandomAccessIterator reference

Public Member Functions

 index_iterate (RandomAccessIterator ibase, IndexIterator iindex)
bool operator== (const index_iterate &i) const
bool operator< (const index_iterate &i) const
bool operator== (const RandomAccessIterator &i) const
bool operator< (const RandomAccessIterator &i) const
IndexIterator base (void) const
reference operator * (void) const
pointer operator-> (void) const
index_iterateoperator++ (void)
index_iterateoperator-- (void)
index_iterate operator++ (int)
index_iterate operator-- (int)
index_iterateoperator+= (size_t n)
index_iterateoperator-= (size_t n)
index_iterate operator+ (size_t n) const
index_iterate operator- (size_t n) const
reference operator[] (uoff_t n) const
difference_type operator- (const index_iterate &i) const


Detailed Description

template<typename RandomAccessIterator, typename IndexIterator>
class ustl::index_iterate< RandomAccessIterator, IndexIterator >

Allows iteration through an index container.

Converts an iterator into a container of uoff_t indexes to an iterator of iterators into another container.


The documentation for this class was generated from the following file:
Generated on Mon Jan 17 14:35:03 2005 for uSTL by 1.3.9 Doxygen Hosted on SourceForge.net