Blender V5.0
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 1276 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 1282 of file BLI_virtual_array.hh.

References BLI_assert, size(), and T.

Referenced by SingleAsSpan().

◆ SingleAsSpan() [2/2]

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

Definition at line 1287 of file BLI_virtual_array.hh.

References SingleAsSpan(), and size().

Member Function Documentation

◆ operator[]()

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

Definition at line 1291 of file BLI_virtual_array.hh.

References BLI_assert, T, and UNUSED_VARS_NDEBUG.


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