Blender V4.3
blender::VVectorArray< T > Class Template Referenceabstract

#include <BLI_virtual_vector_array.hh>

Inherited by blender::VVectorArray_For_GVVectorArray< T >.

Public Member Functions

 VVectorArray (const int64_t size)
 
virtual ~VVectorArray ()=default
 
int64_t size () const
 
bool is_empty () const
 
int64_t get_vector_size (const int64_t index) const
 
T get_vector_element (const int64_t index, const int64_t index_in_vector) const
 
bool is_single_vector () const
 

Protected Member Functions

virtual int64_t get_vector_size_impl (int64_t index) const =0
 
virtual T get_vector_element_impl (int64_t index, int64_t index_in_vetor) const =0
 
virtual bool is_single_vector_impl () const
 

Protected Attributes

int64_t size_
 

Detailed Description

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

A read-only virtual array of vectors.

Definition at line 21 of file BLI_virtual_vector_array.hh.

Constructor & Destructor Documentation

◆ VVectorArray()

template<typename T >
blender::VVectorArray< T >::VVectorArray ( const int64_t size)
inline

Definition at line 26 of file BLI_virtual_vector_array.hh.

References BLI_assert.

◆ ~VVectorArray()

template<typename T >
virtual blender::VVectorArray< T >::~VVectorArray ( )
virtualdefault

Member Function Documentation

◆ get_vector_element()

◆ get_vector_element_impl()

template<typename T >
virtual T blender::VVectorArray< T >::get_vector_element_impl ( int64_t index,
int64_t index_in_vetor ) const
protectedpure virtual

◆ get_vector_size()

◆ get_vector_size_impl()

template<typename T >
virtual int64_t blender::VVectorArray< T >::get_vector_size_impl ( int64_t index) const
protectedpure virtual

◆ is_empty()

template<typename T >
bool blender::VVectorArray< T >::is_empty ( ) const
inline

Definition at line 40 of file BLI_virtual_vector_array.hh.

References blender::VVectorArray< T >::size_.

◆ is_single_vector()

template<typename T >
bool blender::VVectorArray< T >::is_single_vector ( ) const
inline

◆ is_single_vector_impl()

template<typename T >
virtual bool blender::VVectorArray< T >::is_single_vector_impl ( ) const
inlineprotectedvirtual

◆ size()

template<typename T >
int64_t blender::VVectorArray< T >::size ( ) const
inline

Definition at line 34 of file BLI_virtual_vector_array.hh.

References blender::VVectorArray< T >::size_.

Member Data Documentation

◆ size_


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