contains type definitions for Gorgon system
More...
Go to the source code of this file.
|
| typedef unsigned char | Byte |
| | Represents smallest cell in memory. More...
|
| |
| typedef uint32_t | Char |
| |
| typedef float | Float |
| | Represents floating point data type. More...
|
| |
|
| enum | ItemPosition {
Nowhere,
Alone,
First,
Middle,
Last
} |
| | Defines where an item is located in a list. More...
|
| |
| enum | Parity { None,
Odd,
Even
} |
| | Marks the parity as Odd or Even. More...
|
| |
| enum | YesNoAuto { No,
Yes,
Auto
} |
| | This enumeration helps with systems that has boolen parameters that can be detected automatically, but can also be overriden. More...
|
| |
| enum | YesNoUnset { No,
Yes,
Unset
} |
| | This enumeration helps with systems that has boolen parameters that can be unset/empty. More...
|
| |
|
| template<class T_ > |
| bool | Between (Range< T_ > range, T_ v) |
| | Returns if the given number is within the given range including min but excluding max. More...
|
| |
| template<class T_ > |
| bool | Between (T_ v, T_ min, T_ max) |
| | Returns if the given number is within the given range including min but excluding max. More...
|
| |
| template<class T_ > |
| bool | BetweenInclusive (T_ v, T_ min, T_ max) |
| | Returns if the given number is within the given range including min and max. More...
|
| |
| uint32_t | CeilToPowerOf2 (uint32_t v) |
| | Calculate the smalllest power of two larger than this value. More...
|
| |
| template<class T_ > |
| T_ | Clamp (T_ v, T_ min, T_ max) |
| | Performs clamping on the given value and returns the result. More...
|
| |
| template<class T_ > |
| void | FitInto (T_ &v, T_ min, T_ max) |
| | Performs clamping on the given value. More...
|
| |
| int | NumberOfSetBits (uint32_t i) |
| | Returns the number of bits that are 1 in a number. More...
|
| |
| template<typename T_ > |
| T_ | PositiveMod (T_ value, T_ mod) |
| |
| template<typename T_ > |
| int | Sign (T_ val) |
| |
contains type definitions for Gorgon system
◆ ENUMCLASS