MeVisLab Toolbox Reference
ml::DataTypeSelector< dataTypeId > Struct Template Reference

Helper template so select a data type from its type id. More...

#include <mlTypeTraits.h>

Detailed Description

template<int dataTypeId>
struct ml::DataTypeSelector< dataTypeId >

Helper template so select a data type from its type id.

You can use it like this: DataTypeSelector<MLint32Type>::Type, which will be identical to MLint32. It is useful for compile time type decisions based on the data type id.

Definition at line 81 of file mlTypeTraits.h.


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