libLAS API Reference  1.8.1
Public Types | Public Member Functions | List of all members
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

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::Writer &writer)
 Initialize iterator with given writer. More...
 
writer_iteratoroperator= (reference value)
 Dereference assignment operator. More...
 
writer_iteratoroperator* ()
 Dereference operator. More...
 
writer_iteratoroperator++ ()
 Pre-increment operator. More...
 
writer_iterator operator++ (int)
 Post-increment operator. More...
 

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

Member Typedef Documentation

template<typename T >
typedef void liblas::writer_iterator< T >::difference_type
template<typename T >
typedef std::output_iterator_tag liblas::writer_iterator< T >::iterator_category
template<typename T >
typedef void liblas::writer_iterator< T >::pointer
template<typename T >
typedef T const& liblas::writer_iterator< T >::reference
template<typename T >
typedef void liblas::writer_iterator< T >::value_type

Constructor & Destructor Documentation

template<typename T >
liblas::writer_iterator< T >::writer_iterator ( liblas::Writer writer)
inline

Initialize iterator with given writer.

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

Member Function Documentation

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

Dereference operator.

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

Pre-increment operator.

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

Post-increment operator.

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

Dereference assignment operator.

Implemented in terms of LASWriter::WritePoint function.


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