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

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

#include <ash/impl/hashmatrix.h>

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

List of all members.

Public Types

enum  
typedef geometric_path_iterator _Type
typedef const_navigator::box_type box_type
typedef const_navigator::box_ptr box_ptr
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
typedef point_type vector_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 _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

pcoord_type current
point_type current_sub
point_type start
vector_type vec
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_path_iterator ()
 Default constructor.
 const_path_iterator (path_iterator const &pitr)
 Conversion constructor from a path_iterator.

Detailed Description

The const type used to iterate through a group of objects along a path.

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 path_iterator.

Parameters:
pitrThe path_iterator to convert.

Member Function Documentation

bool ash::geometric_path_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_path_iterator< const_navigator , dim_cast<const_navigator ::D>::D >::operator++ ( ) [inline, inherited]

Pre-increment.

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

Post-increment.

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

Pre-decrement.

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

Post-decrement.

bool ash::geometric_path_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