Blender V4.3
blender::SingleAsSpan< T > Class Template Reference

#include <BLI_virtual_array.hh>

Public Member Functions

 SingleAsSpan (T value, int64_t size)
 
 SingleAsSpan (const VArray< T > &varray)
 
const Toperator[] (const int64_t index) const
 

Detailed Description

template<typename T>
class blender::SingleAsSpan< T >

Definition at line 1198 of file BLI_virtual_array.hh.

Constructor & Destructor Documentation

◆ SingleAsSpan() [1/2]

template<typename T >
blender::SingleAsSpan< T >::SingleAsSpan ( T value,
int64_t size )
inline

Definition at line 1204 of file BLI_virtual_array.hh.

References BLI_assert.

◆ SingleAsSpan() [2/2]

template<typename T >
blender::SingleAsSpan< T >::SingleAsSpan ( const VArray< T > & varray)
inline

Definition at line 1209 of file BLI_virtual_array.hh.

Member Function Documentation

◆ operator[]()

template<typename T >
const T & blender::SingleAsSpan< T >::operator[] ( const int64_t index) const
inline

Definition at line 1213 of file BLI_virtual_array.hh.

References BLI_assert, and UNUSED_VARS_NDEBUG.


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