DGtal
1.5.beta
|
Aim: this output iterator class is designed to allow algorithms to insert points in the digital set. Using the assignment operator, even when dereferenced, causes the digital set to insert a point. More...
#include <DGtal/kernel/sets/DigitalSetInserter.h>
Public Types | |
using | iterator_category = std::output_iterator_tag |
using | value_type = void |
using | difference_type = void |
using | pointer = void |
using | reference = void |
Public Member Functions | |
DigitalSetInserter (TDigitalSet &aSet) | |
DigitalSetInserter< TDigitalSet > & | operator= (typename TDigitalSet::Point aPoint) |
DigitalSetInserter< TDigitalSet > & | operator* () |
DigitalSetInserter< TDigitalSet > & | operator++ () |
DigitalSetInserter< TDigitalSet > | operator++ (int) |
Private Member Functions | |
BOOST_CONCEPT_ASSERT ((concepts::CDigitalSet< TDigitalSet >)) | |
Private Attributes | |
TDigitalSet * | mySet |
Aim: this output iterator class is designed to allow algorithms to insert points in the digital set. Using the assignment operator, even when dereferenced, causes the digital set to insert a point.
Description of template class 'DigitalSetInserter'
TDigitalSet | any model of CDigitalSet |
Definition at line 65 of file DigitalSetInserter.h.
using DGtal::DigitalSetInserter< TDigitalSet >::difference_type = void |
Definition at line 75 of file DigitalSetInserter.h.
using DGtal::DigitalSetInserter< TDigitalSet >::iterator_category = std::output_iterator_tag |
Definition at line 73 of file DigitalSetInserter.h.
using DGtal::DigitalSetInserter< TDigitalSet >::pointer = void |
Definition at line 76 of file DigitalSetInserter.h.
using DGtal::DigitalSetInserter< TDigitalSet >::reference = void |
Definition at line 77 of file DigitalSetInserter.h.
using DGtal::DigitalSetInserter< TDigitalSet >::value_type = void |
Definition at line 74 of file DigitalSetInserter.h.
|
inlineexplicit |
|
private |
|
inline |
Dereference operator
Definition at line 100 of file DigitalSetInserter.h.
|
inline |
Pre-increment operator
Definition at line 106 of file DigitalSetInserter.h.
|
inline |
|
inline |
Assignment operator.
aPoint | the point to insert |
Definition at line 93 of file DigitalSetInserter.h.
References aPoint(), and DGtal::DigitalSetInserter< TDigitalSet >::mySet.
|
private |
Aliasing pointer on the underlying set
Definition at line 121 of file DigitalSetInserter.h.
Referenced by DGtal::DigitalSetInserter< TDigitalSet >::operator=().