|
Blender V4.3
|
#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 15 of file BLI_cpp_types.hh.
|
inline |
Definition at line 13 of file BLI_cpp_types_make.hh.
|
inlinestatic |
Definition at line 34 of file BLI_cpp_types.hh.
References get_impl().
|
static |
Try to find the VectorCPPType that corresponds to a #CPPType.
Definition at line 32 of file blenlib/intern/cpp_types.cc.
References BLI_assert, blender::get_vector_from_self_map(), and self.
|
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 39 of file blenlib/intern/cpp_types.cc.
References BLI_assert, and blender::get_vector_from_value_map().
Referenced by blender::nodes::get_vector_type().
|
static |
Referenced by get().
| const CPPType& blender::VectorCPPType::self |
The #Vector<T> itself.
Definition at line 18 of file BLI_cpp_types.hh.
Referenced by get_from_self(), and blender::nodes::get_vector_type().
| const CPPType& blender::VectorCPPType::value |
The type stored in the vector.
Definition at line 20 of file BLI_cpp_types.hh.