Tri-state boolean.
More...
#include <wxAutoExcel_tribool.h>
◆ States
Possible states of wxXlTribool.
| Enumerator |
|---|
| tb_false | false
|
| tb_true | true
|
| tb_default | default / undetermined
|
◆ wxXlTribool() [1/2]
◆ wxXlTribool() [2/2]
| wxAutoExcel::wxXlTribool::wxXlTribool |
( |
bool |
b | ) |
|
|
inline |
◆ GetState()
| States wxAutoExcel::wxXlTribool::GetState |
( |
| ) |
const |
|
inline |
Returns the current state.
◆ IsDefault()
| bool wxAutoExcel::wxXlTribool::IsDefault |
( |
| ) |
const |
|
inline |
Returns true if the tribool is in the default state.
◆ IsTrue()
| bool wxAutoExcel::wxXlTribool::IsTrue |
( |
| ) |
const |
|
inline |
Returns true if the tribool contains true.
◆ IsFalse()
| bool wxAutoExcel::wxXlTribool::IsFalse |
( |
| ) |
const |
|
inline |
Returns true if the tribool contains false.
◆ operator=() [1/2]
| wxXlTribool & wxAutoExcel::wxXlTribool::operator= |
( |
bool |
b | ) |
|
|
inline |
◆ operator=() [2/2]
| wxXlTribool & wxAutoExcel::wxXlTribool::operator= |
( |
const wxVariant & |
v | ) |
|
|
inline |
If the variant contains a bool, assigns the bool value else sets the state to tb_default.