cartobase  4.5.0
carto::DataTypeTraits< DataType > Struct Template Reference

Properties of data types. More...

#include <cartobase/type/datatypetraits.h>

Public Types

typedef Void ChannelType
 

Static Public Attributes

static const bool is_scalar = false
 
static const bool is_multichannel = false
 
static const unsigned int channelcount = 0
 

Detailed Description

template<typename DataType>
struct carto::DataTypeTraits< DataType >

Properties of data types.

This class allows a program to obtain information about the representation of a data type.

The static const members are usable as integral constant expressions.

Template Parameters
DataTypeto get information about.

Definition at line 92 of file datatypetraits.h.

Member Typedef Documentation

template<typename DataType >
typedef Void carto::DataTypeTraits< DataType >::ChannelType

Definition at line 96 of file datatypetraits.h.

Member Data Documentation

template<typename DataType >
const unsigned int carto::DataTypeTraits< DataType >::channelcount = 0
static

Definition at line 100 of file datatypetraits.h.

template<typename DataType >
const bool carto::DataTypeTraits< DataType >::is_multichannel = false
static

Definition at line 99 of file datatypetraits.h.

template<typename DataType >
const bool carto::DataTypeTraits< DataType >::is_scalar = false
static

Definition at line 98 of file datatypetraits.h.


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