31#if defined(OneItemOutputIterator_RECURSES)
32#error Recursive header files inclusion detected in OneItemOutputIterator.h
35#define OneItemOutputIterator_RECURSES
37#if !defined OneItemOutputIterator_h
39#define OneItemOutputIterator_h
44#include "DGtal/base/Common.h"
60 public std::iterator<std::output_iterator_tag,void,void,void,void>
151#undef OneItemOutputIterator_RECURSES
Aim: model of output iterator, ie incrementable and writable iterator, which only stores in a variabl...
OneItemOutputIterator operator++(int)
OneItemOutputIterator & operator=(const T &aItem)
OneItemOutputIterator & operator*()
OneItemOutputIterator(const OneItemOutputIterator &other)
BOOST_CONCEPT_ASSERT((boost::DefaultConstructible< T >))
T * myItemPtr
pointer that stores the last assigned item
OneItemOutputIterator & operator++()
BOOST_CONCEPT_ASSERT((boost::CopyConstructible< T >))
BOOST_CONCEPT_ASSERT((boost::Assignable< T >))
DGtal is the top-level namespace which contains all DGtal functions and types.
Go to http://www.sgi.com/tech/stl/Assignable.html.
Go to http://www.sgi.com/tech/stl/CopyConstructible.html.
Go to http://www.sgi.com/tech/stl/DefaultConstructible.html.