39 template<
typename T>
static DataType
ForSingle();
40 template<
typename T>
static DataType
ForVector();
62 : category_(category), type_(&type)
88 return category_ ==
Single;
93 return category_ ==
Vector;
117 return type_->name();
119 return type_->name() +
" Vector";
#define BLI_STRUCT_EQUALITY_OPERATORS_2(Type, m1, m2)
unsigned long long int uint64_t
static const CPPType & get()
static DataType ForVector()
const CPPType & vector_base_type() const
Category category() const
const CPPType & single_type() const
std::string to_string() const
static DataType ForSingle()
uint64_t get_default_hash(const T &v, const Args &...args)