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

Detailed Description

Definition at line 516 of file CPose3DQuat.h.

#include <mrpt/poses/CPose3DQuat.h>

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

Public Member Functions

bool operator< (const const_iterator &it2) const
 
bool operator> (const const_iterator &it2) const
 
 const_iterator ()
 
 const_iterator (const CPose3DQuat &obj, size_t start_idx)
 
CPose3DQuat::const_reference operator* () const
 
const_iteratoroperator++ ()
 
const_iterator operator++ (int)
 
const_iteratoroperator-- ()
 
const_iterator operator-- (int)
 
const_iteratoroperator+= (iterator_base::difference_type off)
 
const_iterator operator+ (iterator_base::difference_type off) const
 
const_iteratoroperator-= (iterator_base::difference_type off)
 
const_iterator operator- (iterator_base::difference_type off) const
 
iterator_base::difference_type operator- (const const_iterator &it) const
 
CPose3DQuat::const_reference operator[] (iterator_base::difference_type off) const
 
bool operator== (const const_iterator &it) const
 
bool operator!= (const 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

const 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::const_iterator::iterator_base
private

Definition at line 521 of file CPose3DQuat.h.

◆ T

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

The type of the matrix elements.

Definition at line 527 of file CPose3DQuat.h.

Constructor & Destructor Documentation

◆ const_iterator() [1/2]

mrpt::poses::CPose3DQuat::const_iterator::const_iterator ( )
inline

Definition at line 549 of file CPose3DQuat.h.

◆ const_iterator() [2/2]

mrpt::poses::CPose3DQuat::const_iterator::const_iterator ( const CPose3DQuat obj,
size_t  start_idx 
)
inline

Definition at line 550 of file CPose3DQuat.h.

References check_limits().

Here is the call graph for this function:

Member Function Documentation

◆ check_limits()

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

Definition at line 529 of file CPose3DQuat.h.

References ASSERTMSG_, m_cur_idx, m_obj, MRPT_UNUSED_PARAM, and THROW_EXCEPTION.

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

Here is the caller graph for this function:

◆ operator!=()

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

Definition at line 622 of file CPose3DQuat.h.

References operator==().

Here is the call graph for this function:

◆ operator*()

CPose3DQuat::const_reference mrpt::poses::CPose3DQuat::const_iterator::operator* ( ) const
inline

Definition at line 555 of file CPose3DQuat.h.

References check_limits(), m_cur_idx, and m_obj.

Here is the call graph for this function:

◆ operator+()

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

Definition at line 590 of file CPose3DQuat.h.

◆ operator++() [1/2]

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

Definition at line 560 of file CPose3DQuat.h.

References check_limits(), and m_cur_idx.

Here is the call graph for this function:

◆ operator++() [2/2]

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

Definition at line 566 of file CPose3DQuat.h.

◆ operator+=()

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

Definition at line 584 of file CPose3DQuat.h.

References check_limits(), and m_cur_idx.

Here is the call graph for this function:

◆ operator-() [1/2]

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

Definition at line 601 of file CPose3DQuat.h.

◆ operator-() [2/2]

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

Definition at line 608 of file CPose3DQuat.h.

References m_cur_idx.

◆ operator--() [1/2]

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

Definition at line 572 of file CPose3DQuat.h.

References check_limits(), and m_cur_idx.

Here is the call graph for this function:

◆ operator--() [2/2]

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

Definition at line 578 of file CPose3DQuat.h.

◆ operator-=()

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

Definition at line 597 of file CPose3DQuat.h.

◆ operator<()

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

Definition at line 541 of file CPose3DQuat.h.

References m_cur_idx.

◆ operator==()

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

Definition at line 618 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::const_iterator::operator> ( const const_iterator it2) const
inline

Definition at line 545 of file CPose3DQuat.h.

References m_cur_idx.

◆ operator[]()

CPose3DQuat::const_reference mrpt::poses::CPose3DQuat::const_iterator::operator[] ( iterator_base::difference_type  off) const
inline

Definition at line 613 of file CPose3DQuat.h.

References m_cur_idx, and m_obj.

Member Data Documentation

◆ m_cur_idx

size_t mrpt::poses::CPose3DQuat::const_iterator::m_cur_idx
private

The iterator points to this element.

Definition at line 525 of file CPose3DQuat.h.

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

◆ m_obj

const CPose3DQuat* mrpt::poses::CPose3DQuat::const_iterator::m_obj
private

A reference to the source of this iterator.

Definition at line 523 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: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019