TriBool Class Reference

#include <basic_types.h>

List of all members.

Public Member Functions

 TriBool ()
 TriBool (bool setVal)
 operator bool () const
bool isDefined () const

Private Attributes

bool defined
bool val

Detailed Description

TriBool 'tristate boolean' - has 'undefined' state.


Constructor & Destructor Documentation

TriBool::TriBool (  )  [inline]

References defined, and val.

TriBool::TriBool ( bool  setVal  )  [inline]

References defined, and val.


Member Function Documentation

bool TriBool::isDefined (  )  const [inline]

References defined.

TriBool::operator bool (  )  const [inline]

References defined, and val.


Member Data Documentation

bool TriBool::defined [private]

Referenced by isDefined(), operator bool(), and TriBool().

bool TriBool::val [private]

Referenced by operator bool(), and TriBool().


The documentation for this class was generated from the following file: