Multi-robot Playground
Matrix_Proxy< _T > Class Template Reference

#include <Common.h>

Public Member Functions

_T & operator[] (int x)
 
const _T & operator[] (int x) const
 

Private Member Functions

 Matrix_Proxy (int width, _T *ptr)
 

Private Attributes

int width
 
_T * ptr
 

Friends

class Matrix< _T >
 

Constructor & Destructor Documentation

◆ Matrix_Proxy()

template<typename _T >
Matrix_Proxy< _T >::Matrix_Proxy ( int  width,
_T *  ptr 
)
inlineprivate

Member Function Documentation

◆ operator[]() [1/2]

template<typename _T >
_T& Matrix_Proxy< _T >::operator[] ( int  x)
inline

◆ operator[]() [2/2]

template<typename _T >
const _T& Matrix_Proxy< _T >::operator[] ( int  x) const
inline

Friends And Related Function Documentation

◆ Matrix< _T >

template<typename _T >
friend class Matrix< _T >
friend

Member Data Documentation

◆ ptr

template<typename _T >
_T* Matrix_Proxy< _T >::ptr
private

◆ width

template<typename _T >
int Matrix_Proxy< _T >::width
private

The documentation for this class was generated from the following file: