PCL
|
Reverse container adaptor. More...
#include <Iterator.h>
Public Member Functions | |
auto | Begin () |
auto | begin () |
auto | Begin () const |
auto | begin () const |
auto | ConstBegin () const |
auto | ConstEnd () const |
auto | ConstReverseBegin () const |
auto | ConstReverseEnd () const |
auto | End () |
auto | end () |
auto | End () const |
auto | end () const |
auto | ReverseBegin () |
auto | ReverseBegin () const |
auto | ReverseEnd () |
auto | ReverseEnd () const |
A utility template class to facilitate the use of ranged-based for loops with reverse container iteration. Example of use:
The output is:
1 2 3 4 5
5 4 3 2 1
Definition at line 553 of file Iterator.h.
|
inline |
Returns a mutable reverse iterator located at the reverse beginning of the iterated container.
The reverse beginning corresponds to the last element in the container.
Definition at line 572 of file Iterator.h.
|
inline |
STL-compatible iteration. Equivalent to Begin().
Definition at line 692 of file Iterator.h.
|
inline |
Returns an immutable reverse iterator located at the reverse beginning of the iterated container.
The reverse beginning corresponds to the last element in the container.
Definition at line 583 of file Iterator.h.
|
inline |
STL-compatible iteration. Equivalent to Begin() const.
Definition at line 700 of file Iterator.h.
|
inline |
Returns an immutable reverse iterator located at the reverse beginning of the iterated container.
The reverse beginning corresponds to the last element in the container.
Definition at line 594 of file Iterator.h.
|
inline |
Returns an immutable reverse iterator located at the reverse end of the iterated container.
The reverse end corresponds to a nonexistent element immediately before the first element in the container.
Definition at line 630 of file Iterator.h.
|
inline |
Returns an immutable iterator located at the beginning of the iterated container.
Definition at line 657 of file Iterator.h.
|
inline |
Returns an immutable iterator located at the end of the iterated container.
Definition at line 683 of file Iterator.h.
|
inline |
Returns a mutable reverse iterator located at the reverse end of the iterated container.
The reverse end corresponds to a nonexistent element immediately before the first element in the container.
Definition at line 606 of file Iterator.h.
|
inline |
STL-compatible iteration. Equivalent to End().
Definition at line 708 of file Iterator.h.
|
inline |
Returns an immutable reverse iterator located at the reverse end of the iterated container.
The reverse end corresponds to a nonexistent element immediately before the first element in the container.
Definition at line 618 of file Iterator.h.
|
inline |
STL-compatible iteration. Equivalent to End() const.
Definition at line 716 of file Iterator.h.
|
inline |
Returns a mutable iterator located at the beginning of the iterated container.
Definition at line 639 of file Iterator.h.
|
inline |
Returns an immutable iterator located at the beginning of the iterated container.
Definition at line 648 of file Iterator.h.
|
inline |
Returns a mutable iterator located at the end of the iterated container.
Definition at line 665 of file Iterator.h.
|
inline |
Returns an immutable iterator located at the end of the iterated container.
Definition at line 674 of file Iterator.h.