Maipa's Standard Library Extension 1.5.6
mstd
Loading...
Searching...
No Matches
mstd::mat< C, R, T >::mat_column Class Reference

#include <mat.hpp>

Collaboration diagram for mstd::mat< C, R, T >::mat_column:
[legend]

Public Member Functions

_MSTD_CONSTEXPR20 mat_column (mat_type *parent, size_t column)
_MSTD_CONSTEXPR20 mat_column (const mat_column &other)
_MSTD_CONSTEXPR20 mat_columnoperator= (const mat_column &other)
_MSTD_CONSTEXPR20 mat_columnoperator= (const column_type &other)
_MSTD_CONSTEXPR20 bool operator== (const mat_column &other) const
_MSTD_CONSTEXPR20 bool operator!= (const mat_column &other) const
_MSTD_CONSTEXPR20 T & operator[] (const size_t &idx)
_MSTD_CONSTEXPR20 T operator[] (const size_t &idx) const
_MSTD_CONSTEXPR20 operator T* ()
_MSTD_CONSTEXPR20 operator const T * () const
_MSTD_CONSTEXPR20 operator column_type () const

Private Types

using mat_type = mat<C, R, T>

Private Attributes

mat_type_parent
size_t _column

Member Typedef Documentation

◆ mat_type

template<size_t C, size_t R, arithmetic T>
using mstd::mat< C, R, T >::mat_column::mat_type = mat<C, R, T>
private

Constructor & Destructor Documentation

◆ mat_column() [1/2]

template<size_t C, size_t R, arithmetic T>
_MSTD_CONSTEXPR20 mstd::mat< C, R, T >::mat_column::mat_column ( mat_type * parent,
size_t column )
inline

◆ mat_column() [2/2]

template<size_t C, size_t R, arithmetic T>
_MSTD_CONSTEXPR20 mstd::mat< C, R, T >::mat_column::mat_column ( const mat_column & other)
inline

Member Function Documentation

◆ operator column_type()

template<size_t C, size_t R, arithmetic T>
_MSTD_CONSTEXPR20 mstd::mat< C, R, T >::mat_column::operator column_type ( ) const
inline

◆ operator const T *()

template<size_t C, size_t R, arithmetic T>
_MSTD_CONSTEXPR20 mstd::mat< C, R, T >::mat_column::operator const T * ( ) const
inline

◆ operator T*()

template<size_t C, size_t R, arithmetic T>
_MSTD_CONSTEXPR20 mstd::mat< C, R, T >::mat_column::operator T* ( )
inline

◆ operator!=()

template<size_t C, size_t R, arithmetic T>
_MSTD_CONSTEXPR20 bool mstd::mat< C, R, T >::mat_column::operator!= ( const mat_column & other) const
inline

◆ operator=() [1/2]

template<size_t C, size_t R, arithmetic T>
_MSTD_CONSTEXPR20 mat_column & mstd::mat< C, R, T >::mat_column::operator= ( const column_type & other)
inline

◆ operator=() [2/2]

template<size_t C, size_t R, arithmetic T>
_MSTD_CONSTEXPR20 mat_column & mstd::mat< C, R, T >::mat_column::operator= ( const mat_column & other)
inline

◆ operator==()

template<size_t C, size_t R, arithmetic T>
_MSTD_CONSTEXPR20 bool mstd::mat< C, R, T >::mat_column::operator== ( const mat_column & other) const
inline

◆ operator[]() [1/2]

template<size_t C, size_t R, arithmetic T>
_MSTD_CONSTEXPR20 T & mstd::mat< C, R, T >::mat_column::operator[] ( const size_t & idx)
inline

◆ operator[]() [2/2]

template<size_t C, size_t R, arithmetic T>
_MSTD_CONSTEXPR20 T mstd::mat< C, R, T >::mat_column::operator[] ( const size_t & idx) const
inline

Member Data Documentation

◆ _column

template<size_t C, size_t R, arithmetic T>
size_t mstd::mat< C, R, T >::mat_column::_column
private

◆ _parent

template<size_t C, size_t R, arithmetic T>
mat_type* mstd::mat< C, R, T >::mat_column::_parent
private