Public Types | Public Member Functions | Public Attributes | Static Public Attributes
ash::hashmatrix::range_iterator Struct Reference

The type used to iterate through a group of contiguous objects. More...

#include <ash/impl/hashmatrix.h>

Inheritance diagram for ash::hashmatrix::range_iterator:
Inheritance graph
[legend]

List of all members.

Public Types

enum  
typedef geometric_range_iterator _Type
typedef navigator::key_type key_type
typedef navigator::morton_type morton_type
typedef navigator::pcoord_type pcoord_type
typedef navigator::point_type point_type
Iterator Traits
typedef navigator::value_type value_type
typedef navigator::pointer pointer
typedef navigator::reference reference
typedef navigator::size_type size_type
typedef navigator::difference_type difference_type
typedef
std::bidirectional_iterator_tag 
iterator_category

Public Member Functions

void _fast_inc ()
void _fast_dec ()
void _safe_inc ()
void _safe_dec ()
void _inc ()
void _dec ()
_Typeoperator++ ()
 Pre-increment.
_Type operator++ (int)
 Post-increment.
_Typeoperator-- ()
 Pre-decrement.
_Type operator-- (int)
 Post-decrement.
bool operator== (T const &p) const
 Equality operator - (delegated to the wrapped navigator).
bool operator!= (T const &p) const
 Inequality operator - (delegated to the wrapped navigator).
Dereference Operators
pointer operator-> () const
reference operator* () const

Public Attributes

bool fast
pcoord_type current
pcoord_type upper
pcoord_type lower
navigator _M_nav

Static Public Attributes

static const pcoord_type pcoord_end
static const pcoord_type pcoord_max

Constructors/Destructors

We use the default copy constructor.

We use the default destructor.

 range_iterator ()
 Default constructor.

Detailed Description

The type used to iterate through a group of contiguous objects.

Note:
The range is NOT Euclidian distance. It checks each axis individually.

This is just a wrapper for a navigator, and can cast to the wrapped navigator.

Concept: ash::hash_matrix


Constructor & Destructor Documentation

Default constructor.


Member Function Documentation

bool ash::geometric_range_iterator< navigator , dim_cast<navigator ::D>::D >::operator!= ( T const &  p) const [inline, inherited]

Inequality operator - (delegated to the wrapped navigator).

_Type& ash::geometric_range_iterator< navigator , dim_cast<navigator ::D>::D >::operator++ ( ) [inline, inherited]

Pre-increment.

_Type ash::geometric_range_iterator< navigator , dim_cast<navigator ::D>::D >::operator++ ( int  ) [inline, inherited]

Post-increment.

_Type& ash::geometric_range_iterator< navigator , dim_cast<navigator ::D>::D >::operator-- ( ) [inline, inherited]

Pre-decrement.

_Type ash::geometric_range_iterator< navigator , dim_cast<navigator ::D>::D >::operator-- ( int  ) [inline, inherited]

Post-decrement.

bool ash::geometric_range_iterator< navigator , dim_cast<navigator ::D>::D >::operator== ( T const &  p) const [inline, inherited]

Equality operator - (delegated to the wrapped navigator).


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


© 2012   AshTL
Licensed under  AGPLv3
Hosted by  Get AshTL at SourceForge.net. Fast, secure and Free Open Source software downloads
Generated by  doxygen 1.7.4