libLAS API Reference  1.8.1
Public Types | Public Member Functions | List of all members
liblas::index_filter_iterator< T > Class Template Reference

#include <iterator.hpp>

Collaboration diagram for liblas::index_filter_iterator< T >:
Collaboration graph

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

 index_filter_iterator ()
 Initializes iterator pointing to pass-the-end. More...
 
 index_filter_iterator (liblas::Index &index)
 Initializes iterator pointing to beginning of Index's filtered points sequence. More...
 
reference operator* () const
 Dereference operator. More...
 
pointer operator-> () const
 Pointer-to-member operator. More...
 
index_filter_iteratoroperator++ ()
 Pre-increment operator. More...
 
index_filter_iterator operator++ (int)
 Post-increment operator. More...
 
bool equal (index_filter_iterator const &rhs) const
 Compare passed iterator to this. More...
 

Member Typedef Documentation

template<typename T >
typedef ptrdiff_t liblas::index_filter_iterator< T >::difference_type
template<typename T >
typedef std::input_iterator_tag liblas::index_filter_iterator< T >::iterator_category
template<typename T >
typedef T const* liblas::index_filter_iterator< T >::pointer
template<typename T >
typedef T const& liblas::index_filter_iterator< T >::reference
template<typename T >
typedef T liblas::index_filter_iterator< T >::value_type

Constructor & Destructor Documentation

template<typename T >
liblas::index_filter_iterator< T >::index_filter_iterator ( )
inline

Initializes iterator pointing to pass-the-end.

template<typename T >
liblas::index_filter_iterator< T >::index_filter_iterator ( liblas::Index index)
inline

Initializes iterator pointing to beginning of Index's filtered points sequence.

No ownership transfer of index object occurs.

Member Function Documentation

template<typename T >
bool liblas::index_filter_iterator< T >::equal ( index_filter_iterator< T > const &  rhs) const
inline

Compare passed iterator to this.

Determine if both iterators apply to the same instance of liblas::Index class.

template<typename T >
reference liblas::index_filter_iterator< T >::operator* ( ) const
inline

Dereference operator.

It is implemented in terms of Index::GetNextID function.

template<typename T >
index_filter_iterator& liblas::index_filter_iterator< T >::operator++ ( )
inline

Pre-increment operator.

Moves iterator to next record by calling Index::GetNextID.

template<typename T >
index_filter_iterator liblas::index_filter_iterator< T >::operator++ ( int  )
inline

Post-increment operator.

Moves iterator to next record by calling Index::FindNextID.

template<typename T >
pointer liblas::index_filter_iterator< T >::operator-> ( ) const
inline

Pointer-to-member operator.

It is implemented in terms of Index::GetPoint function.


The documentation for this class was generated from the following file: