#include <numericTraits.h>
Public Types | |
| typedef unsigned int | ProductType |
| This typedef specifies that when unsigned chars are multiplied, the result should be an unsigned int. | |
| typedef unsigned int | SumType |
| This typedef specifies that when unsigned chars are added, the result should be an unsigned int. | |
| typedef int | TextOutputType |
| This typedef specifies that when an unsigned char is serialized for stream output, it should be formatted as an int. | |
Public Member Functions | |
| bool | isIntegral () |
| This member function indicates whether the specified type is an integer type or not. | |
Definition at line 139 of file numericTraits.h.
| typedef unsigned int dlr::numeric::NumericTraits< unsigned char >::ProductType |
This typedef specifies that when unsigned chars are multiplied, the result should be an unsigned int.
This prevents overflow when the sum of the components is more than 255.
Definition at line 148 of file numericTraits.h.
| typedef unsigned int dlr::numeric::NumericTraits< unsigned char >::SumType |
This typedef specifies that when unsigned chars are added, the result should be an unsigned int.
This prevents overflow when the sum of the components is more than 255.
Definition at line 155 of file numericTraits.h.
| typedef int dlr::numeric::NumericTraits< unsigned char >::TextOutputType |
This typedef specifies that when an unsigned char is serialized for stream output, it should be formatted as an int.
Definition at line 161 of file numericTraits.h.
| bool dlr::numeric::NumericTraits< unsigned char >::isIntegral | ( | ) | [inline] |
This member function indicates whether the specified type is an integer type or not.
Definition at line 173 of file numericTraits.h.
1.5.8