template<ValueType::Enum format>
class FotoSHOCKcore::ValueTypeInfo< format >
Class used to get additional type information about the ValueType.
There has to be a specialization for every supported ValueType.
The class provides following additional information about the ValueType:
- typedefs:
- Type to get the type that the ValueType describes
- SignedPromote defines a signed type that should be used when using arithmetic operations that may cause overflow of the original type
- UnsignedPromote defines a signed type that should be used when using arithmetic operations that may cause overflow of the original type
- static functions:
- min() get the minimum value representable by the type
- max() the maximum value representable by the type
The necessary fields can be inherited from the ValueTypeInfoBase class when possible.