Boolean type based on an 8-bit integer.
More...
#include <glbinding/Boolean8.h>
Boolean type based on an 8-bit integer.
◆ underlying_type
Type used for storing the value.
◆ Boolean8() [1/6]
GLBINDING_CONSTEXPR glbinding::Boolean8::Boolean8 |
( |
| ) |
|
|
inline |
◆ Boolean8() [2/6]
GLBINDING_CONSTEXPR glbinding::Boolean8::Boolean8 |
( |
bool | on | ) |
|
|
inline |
◆ Boolean8() [3/6]
GLBINDING_CONSTEXPR glbinding::Boolean8::Boolean8 |
( |
char | on | ) |
|
|
inline |
◆ Boolean8() [4/6]
GLBINDING_CONSTEXPR glbinding::Boolean8::Boolean8 |
( |
unsigned char | on | ) |
|
|
inline |
◆ Boolean8() [5/6]
GLBINDING_CONSTEXPR glbinding::Boolean8::Boolean8 |
( |
int | on | ) |
|
|
inline |
◆ Boolean8() [6/6]
GLBINDING_CONSTEXPR glbinding::Boolean8::Boolean8 |
( |
unsigned int | on | ) |
|
|
inline |
◆ operator bool()
GLBINDING_CONSTEXPR glbinding::Boolean8::operator bool |
( |
| ) |
const |
|
inlineexplicit |
Type cast operator.
- Returns
- Value as
bool
◆ operator char()
GLBINDING_CONSTEXPR glbinding::Boolean8::operator char |
( |
| ) |
const |
|
inlineexplicit |
Type cast operator.
- Returns
- Value as
char
◆ operator unsigned char()
GLBINDING_CONSTEXPR glbinding::Boolean8::operator unsigned char |
( |
| ) |
const |
|
inlineexplicit |
Type cast operator.
- Returns
- Value as
unsigned char
◆ operator int()
GLBINDING_CONSTEXPR glbinding::Boolean8::operator int |
( |
| ) |
const |
|
inlineexplicit |
Type cast operator.
- Returns
- Value as
int
◆ operator unsigned int()
GLBINDING_CONSTEXPR glbinding::Boolean8::operator unsigned int |
( |
| ) |
const |
|
inlineexplicit |
Type cast operator.
- Returns
- Value as
unsigned int
◆ operator<()
GLBINDING_CONSTEXPR bool glbinding::Boolean8::operator< |
( |
const Boolean8 & | other | ) |
const |
|
inline |
Comparison operator.
- Parameters
-
- Returns
- Result of comparing internal values
References m_value.
◆ operator>()
GLBINDING_CONSTEXPR bool glbinding::Boolean8::operator> |
( |
const Boolean8 & | other | ) |
const |
|
inline |
Comparison operator.
- Parameters
-
- Returns
- Result of comparing internal values
References m_value.
◆ operator<=()
GLBINDING_CONSTEXPR bool glbinding::Boolean8::operator<= |
( |
const Boolean8 & | other | ) |
const |
|
inline |
Comparison operator.
- Parameters
-
- Returns
- Result of comparing internal values
References m_value.
◆ operator>=()
GLBINDING_CONSTEXPR bool glbinding::Boolean8::operator>= |
( |
const Boolean8 & | other | ) |
const |
|
inline |
Comparison operator.
- Parameters
-
- Returns
- Result of comparing internal values
References m_value.
◆ operator==()
GLBINDING_CONSTEXPR bool glbinding::Boolean8::operator== |
( |
const Boolean8 & | other | ) |
const |
|
inline |
Comparison operator.
- Parameters
-
- Returns
- Result of comparing internal values
References m_value.
◆ operator!=()
GLBINDING_CONSTEXPR bool glbinding::Boolean8::operator!= |
( |
const Boolean8 & | other | ) |
const |
|
inline |
Comparison operator.
- Parameters
-
- Returns
- Result of comparing internal values
References m_value.
◆ m_value
The documentation for this class was generated from the following files: