liblas::writer_iterator< T > Class Template Reference

Output iterator associated with liblas::LASWriter. More...

#include <iterator.hpp>

Collaboration diagram for liblas::writer_iterator< T >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef std::output_iterator_tag iterator_category
typedef void value_type
typedef void pointer
typedef T const & reference
typedef void difference_type

Public Member Functions

 writer_iterator (liblas::LASWriter &writer)
 Initialize iterator with given writer.
writer_iteratoroperator= (reference value)
 Dereference assignment operator.
writer_iteratoroperator * ()
 Dereference operator.
writer_iteratoroperator++ ()
 Pre-increment operator.
writer_iterator operator++ (int)
 Post-increment operator.

Detailed Description

template<typename T>
class liblas::writer_iterator< T >

Output iterator associated with liblas::LASWriter.

It allows to store a sequence of records into LAS file.

See also:
About Output Iterator at http://www.sgi.com/tech/stl/OutputIterator.html

Definition at line 154 of file iterator.hpp.


Member Typedef Documentation

template<typename T>
typedef std::output_iterator_tag liblas::writer_iterator< T >::iterator_category

Definition at line 158 of file iterator.hpp.

template<typename T>
typedef void liblas::writer_iterator< T >::value_type

Definition at line 159 of file iterator.hpp.

template<typename T>
typedef void liblas::writer_iterator< T >::pointer

Definition at line 160 of file iterator.hpp.

template<typename T>
typedef T const& liblas::writer_iterator< T >::reference

Definition at line 161 of file iterator.hpp.

template<typename T>
typedef void liblas::writer_iterator< T >::difference_type

Definition at line 162 of file iterator.hpp.


Constructor & Destructor Documentation

template<typename T>
liblas::writer_iterator< T >::writer_iterator ( liblas::LASWriter writer  )  [inline]

Initialize iterator with given writer.

The writer position is not changed. No ownership transfer of writer object occurs.

Definition at line 167 of file iterator.hpp.


Member Function Documentation

template<typename T>
writer_iterator& liblas::writer_iterator< T >::operator= ( reference  value  )  [inline]

Dereference assignment operator.

Implemented in terms of LASWriter::WritePoint function.

Definition at line 175 of file iterator.hpp.

References liblas::LASWriter::WritePoint().

Here is the call graph for this function:

template<typename T>
writer_iterator& liblas::writer_iterator< T >::operator * (  )  [inline]

Dereference operator.

Definition at line 186 of file iterator.hpp.

template<typename T>
writer_iterator& liblas::writer_iterator< T >::operator++ (  )  [inline]

Pre-increment operator.

Definition at line 193 of file iterator.hpp.

template<typename T>
writer_iterator liblas::writer_iterator< T >::operator++ ( int   )  [inline]

Post-increment operator.

Definition at line 200 of file iterator.hpp.


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