libLAS API Reference
1.8.1
|
Input iterator associated with liblas::LASReader. More...
#include <iterator.hpp>
Public Types | |
typedef std::input_iterator_tag | iterator_category |
typedef T | value_type |
typedef T const * | pointer |
typedef T const & | reference |
typedef ptrdiff_t | difference_type |
Public Member Functions | |
reader_iterator () | |
Initializes iterator pointing to pass-the-end. More... | |
reader_iterator (liblas::Reader &reader) | |
Initializes iterator pointing to beginning of LAS file sequence. More... | |
reference | operator* () const |
Dereference operator. More... | |
pointer | operator-> () const |
Pointer-to-member operator. More... | |
reader_iterator & | operator++ () |
Pre-increment opertor. More... | |
reader_iterator | operator++ (int) |
Post-increment opertor. More... | |
bool | equal (reader_iterator const &rhs) const |
Compare passed iterator to this. More... | |
Input iterator associated with liblas::LASReader.
It allows to read LAS file records in similar way to elements of STL container, as well as apply STL algorithms that accept pair of input iterators.
typedef ptrdiff_t liblas::reader_iterator< T >::difference_type |
typedef std::input_iterator_tag liblas::reader_iterator< T >::iterator_category |
typedef T const* liblas::reader_iterator< T >::pointer |
typedef T const& liblas::reader_iterator< T >::reference |
typedef T liblas::reader_iterator< T >::value_type |
|
inline |
Initializes iterator pointing to pass-the-end.
|
inline |
Initializes iterator pointing to beginning of LAS file sequence.
No ownership transfer of reader object occurs.
|
inline |
Compare passed iterator to this.
Determine if both iterators apply to the same instance of LASReader class.
Referenced by liblas::operator==().
|
inline |
Dereference operator.
It is implemented in terms of LASReader::GetPoint function.
|
inline |
Pre-increment opertor.
Moves iterator to next record by calling LASReader::ReadNextPoint.
|
inline |
Post-increment opertor.
Moves iterator to next record by calling LASReader::ReadNextPoint.
|
inline |
Pointer-to-member operator.
It is implemented in terms of LASReader::GetPoint function.