![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cTriState.h>
Public Member Functions | |
cTriState (BITOP_TYPE eVal=BITOP_TOGGLE) | |
cTriState (bool bVal) | |
bool | isInternalValidState () const |
bool | isTriState () const |
bool | get_Bool () const |
bool | GetBoolDef (bool bDefault=false) const |
BITOP_TYPE | get_Tri () const |
void | put_Tri (BITOP_TYPE eVal) |
operator BITOP_TYPE () const | |
a value with 3 states, like boost::tribool Similar to .NET VB TriState or bool? or Nullable<bool>.
|
inline |
default = BITOP_TOGGLE
|
inline |
|
inline |
ASSUME Must not be tristate.
|
inline |
Get the bool with supplied default if tristate.
|
inline |
Is it one of the 3 valid values ?
|
inline |
|
inline |
|
inline |