DGtal 1.4.0
|
Aim: model of CConstBidirectionalRangeFromPoint that adapts a TiledImage range of elements bounded by two iterators [itb, ite) and provides services to (circularly)iterate over it (in a read-only manner). More...
#include <DGtal/base/TiledImageBidirectionalConstRangeFromPoint.h>
Public Types | |
typedef TTiledImage | TiledImage |
typedef TiledImage::Point | Point |
typedef TiledImage::ConstIterator | ConstIterator |
typedef std::reverse_iterator< ConstIterator > | ConstReverseIterator |
typedef Circulator< ConstIterator > | ConstCirculator |
typedef std::reverse_iterator< ConstCirculator > | ConstReverseCirculator |
Public Member Functions | |
TiledImageBidirectionalConstRangeFromPoint (const TiledImage *ti) | |
TiledImageBidirectionalConstRangeFromPoint (const TiledImageBidirectionalConstRangeFromPoint &other) | |
TiledImageBidirectionalConstRangeFromPoint & | operator= (const TiledImageBidirectionalConstRangeFromPoint &other) |
~TiledImageBidirectionalConstRangeFromPoint () | |
bool | isValid () const |
void | selfDisplay (std::ostream &out) const |
std::string | className () const |
ConstIterator | begin () const |
ConstIterator | begin (const Point &aPoint) const |
ConstIterator | end () const |
ConstReverseIterator | rbegin () const |
ConstReverseIterator | rbegin (const Point &aPoint) const |
ConstReverseIterator | rend () const |
ConstCirculator | c () const |
ConstReverseCirculator | rc () const |
Private Member Functions | |
BOOST_CONCEPT_ASSERT ((boost::BidirectionalIterator< typename TTiledImage::ConstIterator >)) | |
Private Attributes | |
const TTiledImage * | myti |
Aim: model of CConstBidirectionalRangeFromPoint that adapts a TiledImage range of elements bounded by two iterators [itb, ite) and provides services to (circularly)iterate over it (in a read-only manner).
TTiledImage | the type of the TiledImage with his const iterator to adapt (at least bidirectional) |
Definition at line 71 of file TiledImageBidirectionalConstRangeFromPoint.h.
typedef Circulator<ConstIterator> DGtal::TiledImageBidirectionalConstRangeFromPoint< TTiledImage >::ConstCirculator |
Definition at line 87 of file TiledImageBidirectionalConstRangeFromPoint.h.
typedef TiledImage::ConstIterator DGtal::TiledImageBidirectionalConstRangeFromPoint< TTiledImage >::ConstIterator |
Definition at line 84 of file TiledImageBidirectionalConstRangeFromPoint.h.
typedef std::reverse_iterator<ConstCirculator> DGtal::TiledImageBidirectionalConstRangeFromPoint< TTiledImage >::ConstReverseCirculator |
Definition at line 88 of file TiledImageBidirectionalConstRangeFromPoint.h.
typedef std::reverse_iterator<ConstIterator> DGtal::TiledImageBidirectionalConstRangeFromPoint< TTiledImage >::ConstReverseIterator |
Definition at line 85 of file TiledImageBidirectionalConstRangeFromPoint.h.
typedef TiledImage::Point DGtal::TiledImageBidirectionalConstRangeFromPoint< TTiledImage >::Point |
Definition at line 82 of file TiledImageBidirectionalConstRangeFromPoint.h.
typedef TTiledImage DGtal::TiledImageBidirectionalConstRangeFromPoint< TTiledImage >::TiledImage |
Definition at line 80 of file TiledImageBidirectionalConstRangeFromPoint.h.
|
inline |
Standard constructor from a TiledImage.
ti | pointer on a TiledImage. |
Definition at line 96 of file TiledImageBidirectionalConstRangeFromPoint.h.
|
inline |
Copy constructor.
other | the iterator to clone. |
Definition at line 103 of file TiledImageBidirectionalConstRangeFromPoint.h.
|
inline |
Destructor. Does nothing.
Definition at line 124 of file TiledImageBidirectionalConstRangeFromPoint.h.
|
inline |
Iterator service.
Definition at line 172 of file TiledImageBidirectionalConstRangeFromPoint.h.
References DGtal::TiledImageBidirectionalConstRangeFromPoint< TTiledImage >::myti.
Referenced by DGtal::TiledImageBidirectionalConstRangeFromPoint< TTiledImage >::c(), and DGtal::TiledImageBidirectionalConstRangeFromPoint< TTiledImage >::rend().
|
inline |
Iterator service.
Definition at line 181 of file TiledImageBidirectionalConstRangeFromPoint.h.
References aPoint(), and DGtal::TiledImageBidirectionalConstRangeFromPoint< TTiledImage >::myti.
|
private |
|
inline |
Circulator service.
Definition at line 226 of file TiledImageBidirectionalConstRangeFromPoint.h.
References DGtal::TiledImageBidirectionalConstRangeFromPoint< TTiledImage >::begin(), and DGtal::TiledImageBidirectionalConstRangeFromPoint< TTiledImage >::end().
Referenced by DGtal::TiledImageBidirectionalConstRangeFromPoint< TTiledImage >::rc().
|
inline |
Definition at line 152 of file TiledImageBidirectionalConstRangeFromPoint.h.
|
inline |
Iterator service.
Definition at line 190 of file TiledImageBidirectionalConstRangeFromPoint.h.
References DGtal::TiledImageBidirectionalConstRangeFromPoint< TTiledImage >::myti.
Referenced by DGtal::TiledImageBidirectionalConstRangeFromPoint< TTiledImage >::c(), and DGtal::TiledImageBidirectionalConstRangeFromPoint< TTiledImage >::rbegin().
|
inline |
Checks the validity/consistency of the object.
Definition at line 130 of file TiledImageBidirectionalConstRangeFromPoint.h.
|
inline |
Assignment.
other | the iterator to copy. |
Definition at line 111 of file TiledImageBidirectionalConstRangeFromPoint.h.
References DGtal::TiledImageBidirectionalConstRangeFromPoint< TTiledImage >::myti.
|
inline |
Iterator service.
Definition at line 199 of file TiledImageBidirectionalConstRangeFromPoint.h.
References DGtal::TiledImageBidirectionalConstRangeFromPoint< TTiledImage >::end().
|
inline |
Iterator service.
Definition at line 208 of file TiledImageBidirectionalConstRangeFromPoint.h.
References aPoint(), and DGtal::TiledImageBidirectionalConstRangeFromPoint< TTiledImage >::myti.
|
inline |
Circulator service.
Definition at line 235 of file TiledImageBidirectionalConstRangeFromPoint.h.
References DGtal::TiledImageBidirectionalConstRangeFromPoint< TTiledImage >::c().
|
inline |
Iterator service.
Definition at line 217 of file TiledImageBidirectionalConstRangeFromPoint.h.
References DGtal::TiledImageBidirectionalConstRangeFromPoint< TTiledImage >::begin().
|
inline |
Writes/Displays the object on an output stream.
out | the output stream where the object is written. |
Definition at line 140 of file TiledImageBidirectionalConstRangeFromPoint.h.
References DGtal::TiledImageBidirectionalConstRangeFromPoint< TTiledImage >::myti.
|
private |
Definition at line 162 of file TiledImageBidirectionalConstRangeFromPoint.h.
Referenced by DGtal::TiledImageBidirectionalConstRangeFromPoint< TTiledImage >::begin(), DGtal::TiledImageBidirectionalConstRangeFromPoint< TTiledImage >::begin(), DGtal::TiledImageBidirectionalConstRangeFromPoint< TTiledImage >::end(), DGtal::TiledImageBidirectionalConstRangeFromPoint< TTiledImage >::operator=(), DGtal::TiledImageBidirectionalConstRangeFromPoint< TTiledImage >::rbegin(), and DGtal::TiledImageBidirectionalConstRangeFromPoint< TTiledImage >::selfDisplay().