MRPT  1.9.9
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 388 of file CPose3DQuat.h.

#include <mrpt/poses/CPose3DQuat.h>

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

Public Member Functions

bool operator< (const iterator &it2) const
 
bool operator> (const iterator &it2) const
 
 iterator ()=default
 
 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

using iterator_base = std::iterator< std::random_access_iterator_tag, value_type >
 
using T = value_type
 The type of the matrix elements. More...
 

Private Member Functions

void check_limits ([[maybe_unused]] bool allow_end=false) const
 

Private Attributes

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

Member Typedef Documentation

◆ iterator_base

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

Definition at line 393 of file CPose3DQuat.h.

◆ T

The type of the matrix elements.

Definition at line 399 of file CPose3DQuat.h.

Constructor & Destructor Documentation

◆ iterator() [1/2]

mrpt::poses::CPose3DQuat::iterator::iterator ( )
inlinedefault

◆ iterator() [2/2]

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

Definition at line 420 of file CPose3DQuat.h.

References check_limits().

Here is the call graph for this function:

Member Function Documentation

◆ check_limits()

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

Definition at line 401 of file CPose3DQuat.h.

References ASSERTMSG_, m_cur_idx, m_obj, and THROW_EXCEPTION.

Referenced by iterator(), operator*(), operator++(), operator+=(), and operator--().

Here is the caller graph for this function:

◆ operator!=()

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

Definition at line 490 of file CPose3DQuat.h.

References operator==().

Here is the call graph for this function:

◆ operator*()

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

Definition at line 425 of file CPose3DQuat.h.

References check_limits(), m_cur_idx, and m_obj.

Here is the call graph for this function:

◆ operator+()

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

Definition at line 460 of file CPose3DQuat.h.

◆ operator++() [1/2]

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

Definition at line 430 of file CPose3DQuat.h.

References check_limits(), and m_cur_idx.

Here is the call graph for this function:

◆ operator++() [2/2]

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

Definition at line 436 of file CPose3DQuat.h.

◆ operator+=()

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

Definition at line 454 of file CPose3DQuat.h.

References check_limits(), and m_cur_idx.

Here is the call graph for this function:

◆ operator-() [1/2]

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

Definition at line 470 of file CPose3DQuat.h.

◆ operator-() [2/2]

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

Definition at line 476 of file CPose3DQuat.h.

References m_cur_idx.

◆ operator--() [1/2]

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

Definition at line 442 of file CPose3DQuat.h.

References check_limits(), and m_cur_idx.

Here is the call graph for this function:

◆ operator--() [2/2]

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

Definition at line 448 of file CPose3DQuat.h.

◆ operator-=()

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

Definition at line 466 of file CPose3DQuat.h.

◆ operator<()

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

Definition at line 411 of file CPose3DQuat.h.

References m_cur_idx.

◆ operator==()

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

Definition at line 486 of file CPose3DQuat.h.

References m_cur_idx, and m_obj.

Referenced by operator!=().

Here is the caller graph for this function:

◆ operator>()

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

Definition at line 415 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 481 of file CPose3DQuat.h.

References m_cur_idx, and m_obj.

Member Data Documentation

◆ m_cur_idx

size_t mrpt::poses::CPose3DQuat::iterator::m_cur_idx {0}
private

The iterator points to this element.

Definition at line 397 of file CPose3DQuat.h.

Referenced by check_limits(), operator*(), operator++(), operator+=(), operator-(), operator--(), operator<(), operator==(), operator>(), and operator[]().

◆ m_obj

CPose3DQuat* mrpt::poses::CPose3DQuat::iterator::m_obj {nullptr}
private

A reference to the source of this iterator.

Definition at line 395 of file CPose3DQuat.h.

Referenced by check_limits(), operator*(), operator==(), and operator[]().




Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: c7a3bec24 Sun Mar 29 18:33:13 2020 +0200 at dom mar 29 18:50:38 CEST 2020