PCL
pcl::ReverseIteratorBase< BI, C, T > Class Template Reference

Base class of reverse iterators. More...

#include <Iterator.h>

+ Inheritance diagram for pcl::ReverseIteratorBase< BI, C, T >:

Public Member Functions

 ReverseIteratorBase ()=default
 
 ReverseIteratorBase (const BI &i)
 
 ReverseIteratorBase (const ReverseIteratorBase &i)
 
BI Iterator () const
 
 operator BI () const
 
T & operator* () const
 
BI operator-> () const
 

Additional Inherited Members

- Public Types inherited from pcl::Iterator< C, T >
using item_type = T
 Represents the item type.
 
using iterator_class = C
 Represents the iterator class.
 

Detailed Description

template<class BI, class C, class T>
class pcl::ReverseIteratorBase< BI, C, T >

Definition at line 266 of file Iterator.h.

Constructor & Destructor Documentation

◆ ReverseIteratorBase() [1/3]

template<class BI , class C , class T >
pcl::ReverseIteratorBase< BI, C, T >::ReverseIteratorBase ( )
default

Constructs a default ReverseIteratorBase object.

◆ ReverseIteratorBase() [2/3]

template<class BI , class C , class T >
pcl::ReverseIteratorBase< BI, C, T >::ReverseIteratorBase ( const ReverseIteratorBase< BI, C, T > &  i)
inline

Copy constructor.

Definition at line 278 of file Iterator.h.

◆ ReverseIteratorBase() [3/3]

template<class BI , class C , class T >
pcl::ReverseIteratorBase< BI, C, T >::ReverseIteratorBase ( const BI &  i)
inline

Constructs a ReverseIteratorBase object as a duplicate of the specified bidirectional iterator i.

Definition at line 288 of file Iterator.h.

Member Function Documentation

◆ Iterator()

template<class BI , class C , class T >
BI pcl::ReverseIteratorBase< BI, C, T >::Iterator ( ) const
inline

A synonym for operator BI() const.

Definition at line 323 of file Iterator.h.

Referenced by pcl::operator+(), pcl::operator-(), pcl::operator<(), and pcl::operator==().

◆ operator BI()

template<class BI , class C , class T >
pcl::ReverseIteratorBase< BI, C, T >::operator BI ( ) const
inline

Returns a bidirectional iterator that points to the object pointed by this ReverseIteratorBase object.

Definition at line 315 of file Iterator.h.

◆ operator*()

template<class BI , class C , class T >
T& pcl::ReverseIteratorBase< BI, C, T >::operator* ( ) const
inline

Indirection operator. Returns a reference to the object pointed to by this reverse iterator.

Definition at line 297 of file Iterator.h.

◆ operator->()

template<class BI , class C , class T >
BI pcl::ReverseIteratorBase< BI, C, T >::operator-> ( ) const
inline

Structure selection operator. Returns a copy of the bidirectional iterator contained by this reverse iterator.

Definition at line 306 of file Iterator.h.


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