Kanzi 4.0.0-beta2
kanzi::gfx::ArrayType< T, TSize > Struct Template Reference

#include <kanzi/gfx/core/math_types.hpp>

Inheritance diagram for kanzi::gfx::ArrayType< T, TSize >:
[legend]

Public Types

using ElementType
 

Public Member Functions

constexpr auto begin ()
 
constexpr auto begin () const
 
constexpr auto end ()
 
constexpr auto end () const
 
constexpr auto getCount () const
 
constexpr auto getData ()
 
constexpr auto getData () const
 
constexpr Toperator[] (uint32_t i)
 
constexpr const Toperator[] (uint32_t i) const
 

Public Attributes

T data [TSize]
 

Static Public Attributes

static constexpr uint32_t Size
 

Member Typedef Documentation

◆ ElementType

template<typename T , uint32_t TSize>
using kanzi::gfx::ArrayType< T, TSize >::ElementType

Member Function Documentation

◆ begin() [1/2]

template<typename T , uint32_t TSize>
constexpr auto kanzi::gfx::ArrayType< T, TSize >::begin ( ) const
inlineconstexpr

◆ begin() [2/2]

template<typename T , uint32_t TSize>
constexpr auto kanzi::gfx::ArrayType< T, TSize >::begin ( )
inlineconstexpr

◆ end() [1/2]

template<typename T , uint32_t TSize>
constexpr auto kanzi::gfx::ArrayType< T, TSize >::end ( ) const
inlineconstexpr

◆ end() [2/2]

template<typename T , uint32_t TSize>
constexpr auto kanzi::gfx::ArrayType< T, TSize >::end ( )
inlineconstexpr

◆ getData() [1/2]

template<typename T , uint32_t TSize>
constexpr auto kanzi::gfx::ArrayType< T, TSize >::getData ( )
inlineconstexpr

◆ getData() [2/2]

template<typename T , uint32_t TSize>
constexpr auto kanzi::gfx::ArrayType< T, TSize >::getData ( ) const
inlineconstexpr

◆ getCount()

template<typename T , uint32_t TSize>
constexpr auto kanzi::gfx::ArrayType< T, TSize >::getCount ( ) const
inlineconstexpr

◆ operator[]() [1/2]

template<typename T , uint32_t TSize>
constexpr T & kanzi::gfx::ArrayType< T, TSize >::operator[] ( uint32_t i)
inlineconstexpr

◆ operator[]() [2/2]

template<typename T , uint32_t TSize>
constexpr const T & kanzi::gfx::ArrayType< T, TSize >::operator[] ( uint32_t i) const
inlineconstexpr

Member Data Documentation

◆ Size

template<typename T , uint32_t TSize>
constexpr uint32_t kanzi::gfx::ArrayType< T, TSize >::Size
staticconstexpr

◆ data

template<typename T , uint32_t TSize>
T kanzi::gfx::ArrayType< T, TSize >::data[TSize]

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