Auxiliary class used in CMatrixTemplate:size(), CMatrixTemplate::resize(), CMatrixFixedNumeric::size(), CMatrixFixedNumeric::resize(), to mimic the behavior of STL-containers.
Definition at line 23 of file CMatrixTemplate.h.
#include <mrpt/math/CMatrixTemplate.h>
Public Types | |
typedef mrpt::utils::CArray< size_t, 2 > | Base |
typedef CMatrixTemplateSize | mrpt_autotype |
enum | |
typedef size_t | value_type |
typedef size_t * | iterator |
typedef const size_t * | const_iterator |
typedef size_t & | reference |
typedef const size_t & | const_reference |
typedef std::size_t | size_type |
typedef std::ptrdiff_t | difference_type |
typedef std::reverse_iterator< iterator > | reverse_iterator |
typedef std::reverse_iterator< const_iterator > | const_reverse_iterator |
Public Member Functions | |
CMatrixTemplateSize () | |
CMatrixTemplateSize (const size_t *d) | |
bool | operator== (const CMatrixTemplateSize &o) const |
bool | operator!= (const CMatrixTemplateSize &o) const |
operator size_t (void) const | |
This operator allows the size(N,M) to be compared with a plain size_t N*M. More... | |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
reverse_iterator | rbegin () |
const_reverse_iterator | rbegin () const |
reverse_iterator | rend () |
const_reverse_iterator | rend () const |
reference | operator[] (size_type i) |
const_reference | operator[] (size_type i) const |
reference | at (size_type i) |
const_reference | at (size_type i) const |
reference | front () |
const_reference | front () const |
reference | back () |
const_reference | back () const |
void | resize (const size_t nElements) |
This method has no effects in this class, but raises an exception if the expected size does not match. More... | |
void | swap (CArray< size_t, N > &y) |
const size_t * | data () const |
size_t * | data () |
void | assign (const size_t &value) |
void | assign (const size_t n, const size_t &value) |
void | assign (I b, const I &e) |
Static Public Member Functions | |
static size_type | size () |
static bool | empty () |
static size_type | max_size () |
Public Attributes | |
size_t | elems [N] |
typedef mrpt::utils::CArray<size_t, 2> mrpt::math::CMatrixTemplateSize::Base |
Definition at line 25 of file CMatrixTemplate.h.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
Definition at line 26 of file CMatrixTemplate.h.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inline |
Definition at line 28 of file CMatrixTemplate.h.
|
inline |
Definition at line 29 of file CMatrixTemplate.h.
|
inlineinherited |
Definition at line 143 of file CArray.h.
References mrpt::utils::CArray< T, N >::elems.
|
inlineinherited |
Definition at line 148 of file CArray.h.
References mrpt::utils::CArray< T, N >::elems.
|
inlineinherited |
Definition at line 157 of file CArray.h.
References mrpt::utils::CArray< T, N >::begin(), mrpt::math::distance(), and mrpt::utils::CArray< T, N >::end().
|
inlineinherited |
Definition at line 103 of file CArray.h.
References mrpt::utils::CArray< T, N >::elems, and mrpt::utils::CArray< T, N >::rangecheck().
|
inlineinherited |
Definition at line 104 of file CArray.h.
References mrpt::utils::CArray< T, N >::elems, and mrpt::utils::CArray< T, N >::rangecheck().
|
inlineinherited |
Definition at line 109 of file CArray.h.
References mrpt::utils::CArray< T, N >::elems.
|
inlineinherited |
Definition at line 110 of file CArray.h.
References mrpt::utils::CArray< T, N >::elems.
|
inlineinherited |
Definition at line 68 of file CArray.h.
References mrpt::utils::CArray< T, N >::elems.
|
inlineinherited |
Definition at line 69 of file CArray.h.
References mrpt::utils::CArray< T, N >::elems.
|
inlineinherited |
Definition at line 130 of file CArray.h.
References mrpt::utils::CArray< T, N >::elems.
|
inlineinherited |
Definition at line 133 of file CArray.h.
References mrpt::utils::CArray< T, N >::elems.
|
inlinestaticinherited |
|
inlineinherited |
Definition at line 70 of file CArray.h.
References mrpt::utils::CArray< T, N >::elems.
|
inlineinherited |
Definition at line 71 of file CArray.h.
References mrpt::utils::CArray< T, N >::elems.
|
inlineinherited |
Definition at line 107 of file CArray.h.
References mrpt::utils::CArray< T, N >::elems.
|
inlineinherited |
Definition at line 108 of file CArray.h.
References mrpt::utils::CArray< T, N >::elems.
|
inlinestaticinherited |
|
inline |
This operator allows the size(N,M) to be compared with a plain size_t N*M.
Definition at line 34 of file CMatrixTemplate.h.
|
inline |
Definition at line 32 of file CMatrixTemplate.h.
|
inline |
Definition at line 31 of file CMatrixTemplate.h.
References mrpt::utils::CArray< size_t, 2 >::operator[]().
|
inlineinherited |
Definition at line 99 of file CArray.h.
References mrpt::utils::CArray< T, N >::elems.
Referenced by operator==().
|
inlineinherited |
Definition at line 100 of file CArray.h.
References mrpt::utils::CArray< T, N >::elems.
|
inlineinherited |
Definition at line 89 of file CArray.h.
References mrpt::utils::CArray< T, N >::end().
|
inlineinherited |
Definition at line 90 of file CArray.h.
References mrpt::utils::CArray< T, N >::end().
|
inlineinherited |
Definition at line 93 of file CArray.h.
References mrpt::utils::CArray< T, N >::begin().
|
inlineinherited |
Definition at line 94 of file CArray.h.
References mrpt::utils::CArray< T, N >::begin().
|
inlineinherited |
This method has no effects in this class, but raises an exception if the expected size does not match.
Definition at line 119 of file CArray.h.
References mrpt::format().
|
inlinestaticinherited |
|
inlineinherited |
Definition at line 125 of file CArray.h.
References mrpt::utils::CArray< T, N >::begin(), and mrpt::utils::CArray< T, N >::end().
|
inherited |
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 |