Blender  V3.3
Public Member Functions | List of all members
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 1285 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 1291 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 1296 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 1300 of file BLI_virtual_array.hh.

References BLI_assert, and UNUSED_VARS_NDEBUG.


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