Blender  V2.93
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
blender::fn::GVVectorArray Class Referenceabstract

#include <FN_generic_virtual_vector_array.hh>

Inherited by blender::fn::GVVectorArrayForGVectorArray, blender::fn::GVVectorArrayForSingleGSpan, and blender::fn::GVVectorArrayForSingleGVArray.

Public Member Functions

 GVVectorArray (const CPPType &type, const int64_t size)
 
virtual ~GVVectorArray ()=default
 
int64_t size () const
 
bool is_empty () const
 
const CPPTypetype () const
 
int64_t get_vector_size (const int64_t index) const
 
void get_vector_element (const int64_t index, const int64_t index_in_vector, void *r_value) const
 
bool is_single_vector () const
 

Protected Member Functions

virtual int64_t get_vector_size_impl (const int64_t index) const =0
 
virtual void get_vector_element_impl (const int64_t index, const int64_t index_in_vector, void *r_value) const =0
 
virtual bool is_single_vector_impl () const
 

Protected Attributes

const CPPTypetype_
 
int64_t size_
 

Detailed Description

Definition at line 33 of file FN_generic_virtual_vector_array.hh.

Constructor & Destructor Documentation

◆ GVVectorArray()

blender::fn::GVVectorArray::GVVectorArray ( const CPPType type,
const int64_t  size 
)
inline

Definition at line 39 of file FN_generic_virtual_vector_array.hh.

◆ ~GVVectorArray()

virtual blender::fn::GVVectorArray::~GVVectorArray ( )
virtualdefault

Member Function Documentation

◆ get_vector_element()

void blender::fn::GVVectorArray::get_vector_element ( const int64_t  index,
const int64_t  index_in_vector,
void *  r_value 
) const
inline

◆ get_vector_element_impl()

virtual void blender::fn::GVVectorArray::get_vector_element_impl ( const int64_t  index,
const int64_t  index_in_vector,
void *  r_value 
) const
protectedpure virtual

◆ get_vector_size()

int64_t blender::fn::GVVectorArray::get_vector_size ( const int64_t  index) const
inline

◆ get_vector_size_impl()

virtual int64_t blender::fn::GVVectorArray::get_vector_size_impl ( const int64_t  index) const
protectedpure virtual

◆ is_empty()

bool blender::fn::GVVectorArray::is_empty ( ) const
inline

Definition at line 52 of file FN_generic_virtual_vector_array.hh.

References size_.

◆ is_single_vector()

bool blender::fn::GVVectorArray::is_single_vector ( ) const
inline

◆ is_single_vector_impl()

virtual bool blender::fn::GVVectorArray::is_single_vector_impl ( ) const
inlineprotectedvirtual

◆ size()

int64_t blender::fn::GVVectorArray::size ( ) const
inline

◆ type()

const CPPType& blender::fn::GVVectorArray::type ( ) const
inline

Member Data Documentation

◆ size_

int64_t blender::fn::GVVectorArray::size_
protected

◆ type_

const CPPType* blender::fn::GVVectorArray::type_
protected

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