|
xapian-core
2.0.0
|
An iterator across the values in a LatLongCoords object. More...
#include <geospatial.h>
Collaboration diagram for Xapian::LatLongCoordsIterator:Public Member Functions | |
| LatLongCoordsIterator () | |
| Default constructor. Produces an uninitialised iterator. More... | |
| const LatLongCoord & | operator* () const |
| Get the LatLongCoord for the current position. More... | |
| LatLongCoordsIterator & | operator++ () |
| Advance the iterator to the next position. More... | |
| DerefWrapper_< LatLongCoord > | operator++ (int) |
| Advance the iterator to the next position (postfix version). More... | |
| bool | operator== (const LatLongCoordsIterator &other) const |
| Equality test for LatLongCoordsIterator objects. More... | |
Private Types | |
| typedef std::input_iterator_tag | iterator_category |
| typedef LatLongCoord | value_type |
| typedef size_t | difference_type |
| typedef LatLongCoord * | pointer |
| typedef LatLongCoord & | reference |
Private Member Functions | |
| LatLongCoordsIterator (std::vector< LatLongCoord >::const_iterator iter_) | |
| Constructor used by LatLongCoords. More... | |
Private Attributes | |
| std::vector< LatLongCoord >::const_iterator | iter |
| The current position of the iterator. More... | |
Friends | |
| class | LatLongCoords |
| Friend class which needs to be able to construct us. More... | |
An iterator across the values in a LatLongCoords object.
Experimental - see https://xapian.org/docs/deprecation#experimental-features
Definition at line 164 of file geospatial.h.
|
private |
Definition at line 219 of file geospatial.h.
|
private |
LatLongCoordsIterator is what the C++ STL calls an input_iterator.
The following typedefs allow std::iterator_traits<> to work so that this iterator can be used with the STL.
These are deliberately hidden from the Doxygen-generated docs, as the machinery here isn't interesting to API users. They just need to know that Xapian iterator classes are compatible with the STL.
Definition at line 215 of file geospatial.h.
|
private |
Definition at line 221 of file geospatial.h.
|
private |
Definition at line 223 of file geospatial.h.
|
private |
Definition at line 217 of file geospatial.h.
|
inlineprivate |
Constructor used by LatLongCoords.
Definition at line 172 of file geospatial.h.
|
inline |
Default constructor. Produces an uninitialised iterator.
Definition at line 177 of file geospatial.h.
|
inline |
Get the LatLongCoord for the current position.
Definition at line 180 of file geospatial.h.
|
inline |
Advance the iterator to the next position.
Definition at line 185 of file geospatial.h.
|
inline |
Advance the iterator to the next position (postfix version).
Definition at line 191 of file geospatial.h.
|
inline |
Equality test for LatLongCoordsIterator objects.
Definition at line 198 of file geospatial.h.
References iter.
|
friend |
Friend class which needs to be able to construct us.
Definition at line 166 of file geospatial.h.
|
private |
The current position of the iterator.
Definition at line 169 of file geospatial.h.
Referenced by operator==().