The base class for hashgrid::range_iterator and hashgrid::const_range_iterator. More...
#include <ash/impl/geometric_iterators.h>
Public Types | |
| enum | { D = Nav::D } |
| typedef geometric_range_iterator | _Type |
| typedef Nav::key_type | key_type |
| typedef Nav::morton_type | morton_type |
| typedef Nav::pcoord_type | pcoord_type |
| typedef Nav::point_type | point_type |
Iterator Traits | |
| typedef Nav::value_type | value_type |
| typedef Nav::pointer | pointer |
| typedef Nav::reference | reference |
| typedef Nav::size_type | size_type |
| typedef Nav::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 () |
| _Type & | operator++ () |
| Pre-increment. | |
| _Type | operator++ (int) |
| Post-increment. | |
| _Type & | operator-- () |
| Pre-decrement. | |
| _Type | operator-- (int) |
| Post-decrement. | |
| template<typename T > | |
| bool | operator== (T const &p) const |
| Equality operator - (delegated to the wrapped navigator). | |
| template<typename T > | |
| bool | operator!= (T const &p) const |
| Inequality operator - (delegated to the wrapped navigator). | |
Constructors/Destructors | |
We use the default copy constructor. We use the default destructor. | |
| geometric_range_iterator () | |
| Default constructor. | |
| geometric_range_iterator (Nav const &nav, size_type r) | |
| "Real" constructor. | |
Dereference Operators | |
| pointer | operator-> () const |
| reference | operator* () const |
Public Attributes | |
| bool | fast |
| pcoord_type | current |
| pcoord_type | upper |
| pcoord_type | lower |
| Nav | _M_nav |
Static Public Attributes | |
| static const pcoord_type | pcoord_end |
| static const pcoord_type | pcoord_max |
The base class for hashgrid::range_iterator and hashgrid::const_range_iterator.
| ash::geometric_range_iterator< Nav, DIM_3D >::geometric_range_iterator | ( | ) | [inline] |
Default constructor.
| ash::geometric_range_iterator< Nav, DIM_3D >::geometric_range_iterator | ( | Nav const & | nav, |
| size_type | r | ||
| ) |
"Real" constructor.
| nav | A navigator for the current location. |
| r | The range to search around that location. |
| bool ash::geometric_range_iterator< Nav, DIM_3D >::operator!= | ( | T const & | p | ) | const [inline] |
Inequality operator - (delegated to the wrapped navigator).
| _Type& ash::geometric_range_iterator< Nav, DIM_3D >::operator++ | ( | ) | [inline] |
Pre-increment.
| _Type ash::geometric_range_iterator< Nav, DIM_3D >::operator++ | ( | int | ) | [inline] |
Post-increment.
| _Type& ash::geometric_range_iterator< Nav, DIM_3D >::operator-- | ( | ) | [inline] |
Pre-decrement.
| _Type ash::geometric_range_iterator< Nav, DIM_3D >::operator-- | ( | int | ) | [inline] |
Post-decrement.
| bool ash::geometric_range_iterator< Nav, DIM_3D >::operator== | ( | T const & | p | ) | const [inline] |
Equality operator - (delegated to the wrapped navigator).
const geometric_range_iterator< Nav, DIM_3D >::pcoord_type ash::geometric_range_iterator< Nav, DIM_3D >::pcoord_end [static] |
typename Nav::pcoord_type(static_cast< typename Nav::size_type >(-1))
const geometric_range_iterator< Nav, DIM_3D >::pcoord_type ash::geometric_range_iterator< Nav, DIM_3D >::pcoord_max [static] |
typename Nav::pcoord_type(static_cast< typename Nav::size_type >(~(PCoordXYZ< typename Nav::size_type >::mask::_E)))
© 2012
|
Licensed under
|
Hosted by
|
Generated by
1.7.4
|