Main MRPT website > C++ reference for MRPT 1.4.0
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Private Member Functions
mrpt::math::CArray< T, 0 > Class Template Reference

Detailed Description

template<typename T>
class mrpt::math::CArray< T, 0 >

Definition at line 178 of file CArray.h.

#include <mrpt/math/CArray.h>

Public Types

enum  { static_size = 0 }
 
typedef T value_type
 
typedef T * iterator
 
typedef const T * const_iterator
 
typedef T & reference
 
typedef const T & const_reference
 
typedef std::size_t size_type
 
typedef std::ptrdiff_t difference_type
 
typedef std::reverse_iterator< iteratorreverse_iterator
 
typedef std::reverse_iterator< const_iteratorconst_reverse_iterator
 

Public Member Functions

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 at (size_type i)
 
const_reference at (size_type i) const
 
void swap (CArray< T, 0 > &y)
 
const T * data () const
 
T * data ()
 
template<typename T2 >
CArray< T, 0 > & operator= (const CArray< T2, 0 > &rhs)
 
reference operator[] (size_type)
 
const_reference operator[] (size_type) const
 
reference front ()
 
const_reference front () const
 
reference back ()
 
const_reference back () const
 

Static Public Member Functions

static size_type size ()
 
static bool empty ()
 
static size_type max_size ()
 

Public Attributes

char c
 

Static Private Member Functions

static void makes_no_sense ()
 

Member Typedef Documentation

◆ const_iterator

template<typename T >
typedef const T* mrpt::math::CArray< T, 0 >::const_iterator

Definition at line 186 of file CArray.h.

◆ const_reference

template<typename T >
typedef const T& mrpt::math::CArray< T, 0 >::const_reference

Definition at line 188 of file CArray.h.

◆ const_reverse_iterator

template<typename T >
typedef std::reverse_iterator<const_iterator> mrpt::math::CArray< T, 0 >::const_reverse_iterator

Definition at line 201 of file CArray.h.

◆ difference_type

template<typename T >
typedef std::ptrdiff_t mrpt::math::CArray< T, 0 >::difference_type

Definition at line 190 of file CArray.h.

◆ iterator

template<typename T >
typedef T* mrpt::math::CArray< T, 0 >::iterator

Definition at line 185 of file CArray.h.

◆ reference

template<typename T >
typedef T& mrpt::math::CArray< T, 0 >::reference

Definition at line 187 of file CArray.h.

◆ reverse_iterator

template<typename T >
typedef std::reverse_iterator<iterator> mrpt::math::CArray< T, 0 >::reverse_iterator

Definition at line 200 of file CArray.h.

◆ size_type

template<typename T >
typedef std::size_t mrpt::math::CArray< T, 0 >::size_type

Definition at line 189 of file CArray.h.

◆ value_type

template<typename T >
typedef T mrpt::math::CArray< T, 0 >::value_type

Definition at line 184 of file CArray.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename T >
anonymous enum
Enumerator
static_size 

Definition at line 237 of file CArray.h.

Member Function Documentation

◆ at() [1/2]

template<typename T >
reference mrpt::math::CArray< T, 0 >::at ( size_type  i)
inline

Definition at line 224 of file CArray.h.

References MRPT_UNUSED_PARAM.

◆ at() [2/2]

template<typename T >
const_reference mrpt::math::CArray< T, 0 >::at ( size_type  i) const
inline

Definition at line 228 of file CArray.h.

References MRPT_UNUSED_PARAM.

◆ back() [1/2]

template<typename T >
reference mrpt::math::CArray< T, 0 >::back ( )
inline

Definition at line 265 of file CArray.h.

◆ back() [2/2]

template<typename T >
const_reference mrpt::math::CArray< T, 0 >::back ( ) const
inline

Definition at line 266 of file CArray.h.

◆ begin() [1/2]

template<typename T >
iterator mrpt::math::CArray< T, 0 >::begin ( )
inline

Definition at line 193 of file CArray.h.

◆ begin() [2/2]

template<typename T >
const_iterator mrpt::math::CArray< T, 0 >::begin ( ) const
inline

Definition at line 194 of file CArray.h.

◆ data() [1/2]

template<typename T >
T * mrpt::math::CArray< T, 0 >::data ( )
inline

Definition at line 247 of file CArray.h.

◆ data() [2/2]

template<typename T >
const T * mrpt::math::CArray< T, 0 >::data ( ) const
inline

Definition at line 246 of file CArray.h.

◆ empty()

template<typename T >
static bool mrpt::math::CArray< T, 0 >::empty ( )
inlinestatic

Definition at line 235 of file CArray.h.

◆ end() [1/2]

template<typename T >
iterator mrpt::math::CArray< T, 0 >::end ( )
inline

Definition at line 195 of file CArray.h.

◆ end() [2/2]

template<typename T >
const_iterator mrpt::math::CArray< T, 0 >::end ( ) const
inline

Definition at line 196 of file CArray.h.

◆ front() [1/2]

template<typename T >
reference mrpt::math::CArray< T, 0 >::front ( )
inline

Definition at line 263 of file CArray.h.

◆ front() [2/2]

template<typename T >
const_reference mrpt::math::CArray< T, 0 >::front ( ) const
inline

Definition at line 264 of file CArray.h.

◆ makes_no_sense()

template<typename T >
static void mrpt::math::CArray< T, 0 >::makes_no_sense ( )
inlinestaticprivate

Definition at line 271 of file CArray.h.

◆ max_size()

template<typename T >
static size_type mrpt::math::CArray< T, 0 >::max_size ( )
inlinestatic

Definition at line 236 of file CArray.h.

◆ operator=()

template<typename T >
template<typename T2 >
CArray< T, 0 > & mrpt::math::CArray< T, 0 >::operator= ( const CArray< T2, 0 > &  rhs)
inline

Definition at line 251 of file CArray.h.

References MRPT_UNUSED_PARAM.

◆ operator[]() [1/2]

template<typename T >
reference mrpt::math::CArray< T, 0 >::operator[] ( size_type  )
inline

Definition at line 259 of file CArray.h.

◆ operator[]() [2/2]

template<typename T >
const_reference mrpt::math::CArray< T, 0 >::operator[] ( size_type  ) const
inline

Definition at line 260 of file CArray.h.

◆ rbegin() [1/2]

template<typename T >
reverse_iterator mrpt::math::CArray< T, 0 >::rbegin ( )
inline

Definition at line 214 of file CArray.h.

References mrpt::math::CArray< T, N >::end().

◆ rbegin() [2/2]

template<typename T >
const_reverse_iterator mrpt::math::CArray< T, 0 >::rbegin ( ) const
inline

Definition at line 215 of file CArray.h.

References mrpt::math::CArray< T, N >::end().

◆ rend() [1/2]

template<typename T >
reverse_iterator mrpt::math::CArray< T, 0 >::rend ( )
inline

Definition at line 218 of file CArray.h.

References mrpt::math::CArray< T, N >::begin().

◆ rend() [2/2]

template<typename T >
const_reverse_iterator mrpt::math::CArray< T, 0 >::rend ( ) const
inline

Definition at line 219 of file CArray.h.

References mrpt::math::CArray< T, N >::begin().

◆ size()

template<typename T >
static size_type mrpt::math::CArray< T, 0 >::size ( )
inlinestatic

Definition at line 234 of file CArray.h.

◆ swap()

template<typename T >
void mrpt::math::CArray< T, 0 >::swap ( CArray< T, 0 > &  y)
inline

Definition at line 240 of file CArray.h.

References MRPT_UNUSED_PARAM.

Member Data Documentation

◆ c

template<typename T >
char mrpt::math::CArray< T, 0 >::c

Definition at line 180 of file CArray.h.




Page generated by Doxygen 1.9.7 for MRPT 1.4.0 SVN: at Tue Jun 27 15:23:24 UTC 2023