The base class for hashgrid::path_iterator and hashgrid::const_path_iterator. More...
#include <ash/impl/geometric_iterators.h>
Public Types | |
| enum | { D = DIM_2D } |
| typedef geometric_path_iterator | _Type |
| typedef Nav::box_type | box_type |
| typedef Nav::box_ptr | box_ptr |
| typedef Nav::key_type | key_type |
| typedef Nav::morton_type | morton_type |
| typedef Nav::pcoord_type | pcoord_type |
| typedef Nav::point_type | point_type |
| typedef point_type | vector_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 | _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_path_iterator () | |
| Default constructor. | |
| geometric_path_iterator (box_ptr box, point_type const &p1, point_type const &p2) | |
| "Real" constructor. | |
Dereference Operators | |
| pointer | operator-> () const |
| reference | operator* () const |
Public Attributes | |
| pcoord_type | current |
| point_type | current_sub |
| point_type | start |
| vector_type | vec |
| Nav | _M_nav |
Static Public Attributes | |
| static const pcoord_type | pcoord_end |
| static const pcoord_type | pcoord_max |
The base class for hashgrid::path_iterator and hashgrid::const_path_iterator.
| ash::geometric_path_iterator< Nav, _D >::geometric_path_iterator | ( | ) | [inline] |
Default constructor.
| ash::geometric_path_iterator< Nav, _D >::geometric_path_iterator | ( | box_ptr | box, |
| point_type const & | p1, | ||
| point_type const & | p2 | ||
| ) | [inline] |
"Real" constructor.
| box | A pointer to the container. |
| p1 | The first point. |
| p2 | The second point. |
| bool ash::geometric_path_iterator< Nav, _D >::operator!= | ( | T const & | p | ) | const [inline] |
Inequality operator - (delegated to the wrapped navigator).
| _Type& ash::geometric_path_iterator< Nav, _D >::operator++ | ( | ) | [inline] |
Pre-increment.
| _Type ash::geometric_path_iterator< Nav, _D >::operator++ | ( | int | ) | [inline] |
Post-increment.
| _Type& ash::geometric_path_iterator< Nav, _D >::operator-- | ( | ) | [inline] |
Pre-decrement.
| _Type ash::geometric_path_iterator< Nav, _D >::operator-- | ( | int | ) | [inline] |
Post-decrement.
| bool ash::geometric_path_iterator< Nav, _D >::operator== | ( | T const & | p | ) | const [inline] |
Equality operator - (delegated to the wrapped navigator).
const geometric_path_iterator< Nav, D >::pcoord_type ash::geometric_path_iterator< Nav, D >::pcoord_end [static] |
typename Nav::pcoord_type(static_cast< typename Nav::size_type >(-1))
const geometric_path_iterator< Nav, D >::pcoord_type ash::geometric_path_iterator< Nav, D >::pcoord_max [static] |
typename Nav::pcoord_type((PCoordXY< typename Nav::size_type >::mask::X & (PCoordXY< typename Nav::size_type >::mask::X << 1)) | (PCoordXY< typename Nav::size_type >::mask::Y & (PCoordXY< typename Nav::size_type >::mask::Y << 1)))
© 2012
|
Licensed under
|
Hosted by
|
Generated by
1.7.4
|