3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
6 * \author Jean-Marc Lasgouttes
8 * Full author contact details are available in file CREDITS.
13 #include "FuncStatus.h"
15 FuncStatus::FuncStatus() : v_(OK)
20 FuncStatus & FuncStatus::clear ()
26 void FuncStatus::operator |= (FuncStatus const & f)
31 FuncStatus & FuncStatus::unknown (bool b)
41 bool FuncStatus::unknown () const
43 return (v_ & UNKNOWN);
47 FuncStatus & FuncStatus::disabled (bool b)
57 bool FuncStatus::disabled () const
59 return (v_ & DISABLED);
63 void FuncStatus::setOnOff (bool b)
69 bool FuncStatus::onoff (bool b) const