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

Properties of data types. More...

#include <cartobase/type/datatypetraits.h>

Public Types

typedef Void ChannelType
 
typedef DataType LongType
 

Static Public Attributes

static const bool is_scalar = false
 
static const bool is_multichannel = false
 
static const bool has_bool_conversion = 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 103 of file datatypetraits.h.

Member Typedef Documentation

◆ ChannelType

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

Definition at line 107 of file datatypetraits.h.

◆ LongType

template<typename DataType >
typedef DataType carto::DataTypeTraits< DataType >::LongType

Definition at line 108 of file datatypetraits.h.

Member Data Documentation

◆ channelcount

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

Definition at line 113 of file datatypetraits.h.

◆ has_bool_conversion

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

Definition at line 112 of file datatypetraits.h.

◆ is_multichannel

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

Definition at line 111 of file datatypetraits.h.

◆ is_scalar

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

Definition at line 110 of file datatypetraits.h.


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