Main MRPT website > C++ reference for MRPT 1.5.7
List of all members | Public Member Functions | Private Types | Private Member Functions | Private Attributes
mrpt::poses::CPose3DQuat::iterator Struct Reference

Detailed Description

Definition at line 269 of file CPose3DQuat.h.

#include <mrpt/poses/CPose3DQuat.h>

Inheritance diagram for mrpt::poses::CPose3DQuat::iterator:
Inheritance graph

Public Member Functions

bool operator< (const iterator &it2) const
 
bool operator> (const iterator &it2) const
 
 iterator ()
 
 iterator (CPose3DQuat &obj, size_t start_idx)
 
CPose3DQuat::reference operator* () const
 
iteratoroperator++ ()
 
iterator operator++ (int)
 
iteratoroperator-- ()
 
iterator operator-- (int)
 
iteratoroperator+= (iterator_base::difference_type off)
 
iterator operator+ (iterator_base::difference_type off) const
 
iteratoroperator-= (iterator_base::difference_type off)
 
iterator operator- (iterator_base::difference_type off) const
 
iterator_base::difference_type operator- (const iterator &it) const
 
CPose3DQuat::reference operator[] (iterator_base::difference_type off) const
 
bool operator== (const iterator &it) const
 
bool operator!= (const iterator &it) const
 

Private Types

typedef std::iterator< std::random_access_iterator_tag, value_typeiterator_base
 
typedef value_type T
 The type of the matrix elements. More...
 

Private Member Functions

void check_limits (bool allow_end=false) const
 

Private Attributes

CPose3DQuatm_obj
 A reference to the source of this iterator. More...
 
size_t m_cur_idx
 The iterator points to this element. More...
 

Member Typedef Documentation

◆ iterator_base

typedef std::iterator<std::random_access_iterator_tag,value_type> mrpt::poses::CPose3DQuat::iterator::iterator_base
private

Definition at line 272 of file CPose3DQuat.h.

◆ T

typedef value_type mrpt::poses::CPose3DQuat::iterator::T
private

The type of the matrix elements.

Definition at line 275 of file CPose3DQuat.h.

Constructor & Destructor Documentation

◆ iterator() [1/2]

mrpt::poses::CPose3DQuat::iterator::iterator ( )
inline

Definition at line 289 of file CPose3DQuat.h.

◆ iterator() [2/2]

mrpt::poses::CPose3DQuat::iterator::iterator ( CPose3DQuat obj,
size_t  start_idx 
)
inline

Definition at line 290 of file CPose3DQuat.h.

Member Function Documentation

◆ check_limits()

void mrpt::poses::CPose3DQuat::iterator::check_limits ( bool  allow_end = false) const
inlineprivate

Definition at line 277 of file CPose3DQuat.h.

References ASSERTMSG_, MRPT_UNUSED_PARAM, and THROW_EXCEPTION.

◆ operator!=()

bool mrpt::poses::CPose3DQuat::iterator::operator!= ( const iterator it) const
inline

Definition at line 333 of file CPose3DQuat.h.

References mrpt::poses::operator==().

◆ operator*()

CPose3DQuat::reference mrpt::poses::CPose3DQuat::iterator::operator* ( ) const
inline

Definition at line 291 of file CPose3DQuat.h.

◆ operator+()

iterator mrpt::poses::CPose3DQuat::iterator::operator+ ( iterator_base::difference_type  off) const
inline

Definition at line 317 of file CPose3DQuat.h.

◆ operator++() [1/2]

iterator& mrpt::poses::CPose3DQuat::iterator::operator++ ( )
inline

Definition at line 292 of file CPose3DQuat.h.

◆ operator++() [2/2]

iterator mrpt::poses::CPose3DQuat::iterator::operator++ ( int  )
inline

Definition at line 297 of file CPose3DQuat.h.

◆ operator+=()

iterator& mrpt::poses::CPose3DQuat::iterator::operator+= ( iterator_base::difference_type  off)
inline

Definition at line 312 of file CPose3DQuat.h.

◆ operator-() [1/2]

iterator mrpt::poses::CPose3DQuat::iterator::operator- ( iterator_base::difference_type  off) const
inline

Definition at line 325 of file CPose3DQuat.h.

◆ operator-() [2/2]

iterator_base::difference_type mrpt::poses::CPose3DQuat::iterator::operator- ( const iterator it) const
inline

Definition at line 330 of file CPose3DQuat.h.

References m_cur_idx.

◆ operator--() [1/2]

iterator& mrpt::poses::CPose3DQuat::iterator::operator-- ( )
inline

Definition at line 302 of file CPose3DQuat.h.

◆ operator--() [2/2]

iterator mrpt::poses::CPose3DQuat::iterator::operator-- ( int  )
inline

Definition at line 307 of file CPose3DQuat.h.

◆ operator-=()

iterator& mrpt::poses::CPose3DQuat::iterator::operator-= ( iterator_base::difference_type  off)
inline

Definition at line 322 of file CPose3DQuat.h.

◆ operator<()

bool mrpt::poses::CPose3DQuat::iterator::operator< ( const iterator it2) const
inline

Definition at line 287 of file CPose3DQuat.h.

References m_cur_idx.

◆ operator==()

bool mrpt::poses::CPose3DQuat::iterator::operator== ( const iterator it) const
inline

Definition at line 332 of file CPose3DQuat.h.

References m_cur_idx, and m_obj.

◆ operator>()

bool mrpt::poses::CPose3DQuat::iterator::operator> ( const iterator it2) const
inline

Definition at line 288 of file CPose3DQuat.h.

References m_cur_idx.

◆ operator[]()

CPose3DQuat::reference mrpt::poses::CPose3DQuat::iterator::operator[] ( iterator_base::difference_type  off) const
inline

Definition at line 331 of file CPose3DQuat.h.

Member Data Documentation

◆ m_cur_idx

size_t mrpt::poses::CPose3DQuat::iterator::m_cur_idx
private

The iterator points to this element.

Definition at line 274 of file CPose3DQuat.h.

Referenced by operator-(), operator<(), operator==(), and operator>().

◆ m_obj

CPose3DQuat* mrpt::poses::CPose3DQuat::iterator::m_obj
private

A reference to the source of this iterator.

Definition at line 273 of file CPose3DQuat.h.

Referenced by operator==().




Page generated by Doxygen 1.8.14 for MRPT 1.5.7 Git: 5902e14cc Wed Apr 24 15:04:01 2019 +0200 at lun oct 28 01:39:17 CET 2019