|
Blender V5.0
|
#include <BLI_cpp_types.hh>
Public Member Functions | |
| template<typename ValueType> | |
| VectorCPPType (TypeTag< ValueType >) | |
Static Public Member Functions | |
| static const VectorCPPType * | get_from_self (const CPPType &self) |
| static const VectorCPPType * | get_from_value (const CPPType &value) |
| template<typename ValueType> | |
| static const VectorCPPType & | get () |
| template<typename ValueType> | |
| static const VectorCPPType & | get_impl () |
Public Attributes | |
| const CPPType & | self |
| const CPPType & | value |
Contains information about how to deal with a Vector<T> generically.
Definition at line 18 of file BLI_cpp_types.hh.
|
inline |
Definition at line 17 of file BLI_cpp_types_make.hh.
References get(), self, and value.
Referenced by get(), get_from_self(), get_from_value(), and get_impl().
|
inlinestatic |
Definition at line 37 of file BLI_cpp_types.hh.
References get_impl(), and VectorCPPType().
Referenced by VectorCPPType().
|
static |
Try to find the VectorCPPType that corresponds to a CPPType.
Definition at line 36 of file blenlib/intern/cpp_types.cc.
References BLI_assert, blender::get_vector_from_self_map(), self, and VectorCPPType().
|
static |
Try to find the VectorCPPType that wraps a vector containing the given value type. This only works when the vector type has been created with BLI_VECTOR_CPP_TYPE_MAKE.
Definition at line 43 of file blenlib/intern/cpp_types.cc.
References BLI_assert, blender::get_vector_from_value_map(), value, and VectorCPPType().
|
static |
References VectorCPPType().
Referenced by get().
| const CPPType& blender::VectorCPPType::self |
The Vector<T> itself.
Definition at line 21 of file BLI_cpp_types.hh.
Referenced by get_from_self(), and VectorCPPType().
| const CPPType& blender::VectorCPPType::value |
The type stored in the vector.
Definition at line 23 of file BLI_cpp_types.hh.
Referenced by get_from_value(), and VectorCPPType().