Blender  V2.93
Classes | Public Member Functions | List of all members
blender::fn::GVectorArray Class Reference

#include <FN_generic_vector_array.hh>

Inherits blender::NonCopyable, and blender::NonMovable.

Public Member Functions

 GVectorArray ()=delete
 
 GVectorArray (const CPPType &type, int64_t array_size)
 
 ~GVectorArray ()
 
int64_t size () const
 
bool is_empty () const
 
const CPPTypetype () const
 
void append (int64_t index, const void *value)
 
void extend (int64_t index, const GVArray &values)
 
void extend (int64_t index, GSpan values)
 
void extend (IndexMask mask, const GVVectorArray &values)
 
void extend (IndexMask mask, const GVectorArray &values)
 
GMutableSpan operator[] (int64_t index)
 
GSpan operator[] (int64_t index) const
 

Detailed Description

Definition at line 35 of file FN_generic_vector_array.hh.

Constructor & Destructor Documentation

◆ GVectorArray() [1/2]

blender::fn::GVectorArray::GVectorArray ( )
delete

◆ GVectorArray() [2/2]

blender::fn::GVectorArray::GVectorArray ( const CPPType type,
int64_t  array_size 
)

Definition at line 23 of file generic_vector_array.cc.

◆ ~GVectorArray()

blender::fn::GVectorArray::~GVectorArray ( )

Member Function Documentation

◆ append()

void blender::fn::GVectorArray::append ( int64_t  index,
const void *  value 
)

◆ extend() [1/4]

void blender::fn::GVectorArray::extend ( IndexMask  mask,
const GVectorArray values 
)

Definition at line 75 of file generic_vector_array.cc.

References extend().

◆ extend() [2/4]

void blender::fn::GVectorArray::extend ( IndexMask  mask,
const GVVectorArray values 
)

Definition at line 67 of file generic_vector_array.cc.

References extend(), and mask().

◆ extend() [3/4]

void blender::fn::GVectorArray::extend ( int64_t  index,
const GVArray values 
)

◆ extend() [4/4]

void blender::fn::GVectorArray::extend ( int64_t  index,
GSpan  values 
)

Definition at line 61 of file generic_vector_array.cc.

References extend().

◆ is_empty()

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

◆ operator[]() [1/2]

GMutableSpan blender::fn::GVectorArray::operator[] ( int64_t  index)

Definition at line 81 of file generic_vector_array.cc.

◆ operator[]() [2/2]

GSpan blender::fn::GVectorArray::operator[] ( int64_t  index) const

Definition at line 87 of file generic_vector_array.cc.

◆ size()

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

◆ type()

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

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