Blender  V3.3
Classes | Public Member Functions | List of all members
blender::ListBaseWrapper< T > Class Template Reference

#include <BLI_listbase_wrapper.hh>

Classes

class  Iterator
 

Public Member Functions

 ListBaseWrapper (ListBase *listbase)
 
 ListBaseWrapper (ListBase &listbase)
 
Iterator begin () const
 
Iterator end () const
 
T get (uint index) const
 
int64_t index_of (const T *value) const
 

Detailed Description

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

Definition at line 19 of file BLI_listbase_wrapper.hh.

Constructor & Destructor Documentation

◆ ListBaseWrapper() [1/2]

template<typename T >
blender::ListBaseWrapper< T >::ListBaseWrapper ( ListBase listbase)
inline

Definition at line 24 of file BLI_listbase_wrapper.hh.

References BLI_assert.

◆ ListBaseWrapper() [2/2]

template<typename T >
blender::ListBaseWrapper< T >::ListBaseWrapper ( ListBase listbase)
inline

Definition at line 29 of file BLI_listbase_wrapper.hh.

Member Function Documentation

◆ begin()

template<typename T >
Iterator blender::ListBaseWrapper< T >::begin ( ) const
inline

Definition at line 68 of file BLI_listbase_wrapper.hh.

References ListBase::first, and T.

◆ end()

template<typename T >
Iterator blender::ListBaseWrapper< T >::end ( ) const
inline

Definition at line 73 of file BLI_listbase_wrapper.hh.

◆ get()

template<typename T >
T blender::ListBaseWrapper< T >::get ( uint  index) const
inline

Definition at line 78 of file BLI_listbase_wrapper.hh.

References BLI_assert, BLI_findlink(), ptr, and T.

◆ index_of()

template<typename T >
int64_t blender::ListBaseWrapper< T >::index_of ( const T value) const
inline

Definition at line 85 of file BLI_listbase_wrapper.hh.

References BLI_assert, ptr, and T.


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