cartobase
4.7.0
|
DataTypeInfo class is a hint to access data type information. More...
#include <cartobase/type/datatypeinfo.h>
Public Types | |
typedef carto::DataTypeTraits< DataType > | DataTypeTraitsType |
Static Public Member Functions | |
static uint8_t | samples () |
Number of channels for the DataType. More... | |
static uint8_t | depth () |
Depth of channels for the DataType. More... | |
static const std::string | channelType () |
std::string that represents the channel type for the DataType More... | |
DataTypeInfo class is a hint to access data type information.
This class allows a program to obtain information about the representation of a data type (number of channels, depth, ...).
DataType | data type to get information about (uint8_t, VoxelRGB, VoxelRGBA, ...) |
Definition at line 51 of file datatypeinfo.h.
typedef carto::DataTypeTraits<DataType> DataTypeInfo< DataType >::DataTypeTraitsType |
Definition at line 55 of file datatypeinfo.h.
|
inlinestatic |
std::string that represents the channel type for the DataType
Definition at line 88 of file datatypeinfo.h.
References carto::DataTypeCode< T >::dataType().
|
inlinestatic |
Depth of channels for the DataType.
Definition at line 82 of file datatypeinfo.h.
References carto::DataTypeTraits< DataType >::channelcount.
|
inlinestatic |
Number of channels for the DataType.
Definition at line 76 of file datatypeinfo.h.
References carto::DataTypeTraits< DataType >::channelcount.