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

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

#include <ash/impl/hashmatrix.h>

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

List of all members.

Public Types

enum  
typedef geometric_range_iterator _Type
typedef const_navigator::key_type key_type
typedef
const_navigator::morton_type 
morton_type
typedef
const_navigator::pcoord_type 
pcoord_type
typedef const_navigator::point_type point_type
Iterator Traits
typedef const_navigator::value_type value_type
typedef const_navigator::pointer pointer
typedef const_navigator::reference reference
typedef const_navigator::size_type size_type
typedef
const_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
const_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.

 const_range_iterator ()
 Default constructor.
 const_range_iterator (range_iterator const &ritr)
 Conversion constructor from a range_iterator.

Detailed Description

The const 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 const_navigator, and can cast to the wrapped const_navigator.

Concept: ash::hash_matrix


Constructor & Destructor Documentation

Default constructor.

Conversion constructor from a range_iterator.

Parameters:
ritrThe range_iterator to convert.

Member Function Documentation

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

Inequality operator - (delegated to the wrapped navigator).

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

Pre-increment.

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

Post-increment.

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

Pre-decrement.

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

Post-decrement.

bool ash::geometric_range_iterator< const_navigator , dim_cast<const_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