Go to the documentation of this file.
20 #ifndef __Logical_hpp__
21 #define __Logical_hpp__
121 inline explicit operator bool()
const
151 #endif // __Logical_hpp__
static bool evaluteWord(const word &l, bool &b, int &yesNoSet)
static const word YesNo__[4][2]
Set of Yes or Nos.
Logical & operator=(const Logical &)=default
Copy assignment.
bool write(iOstream &os) const
static word TYPENAME()
Type info.
Interface class for any input stream
INLINE_FUNCTION iIstream & operator>>(iIstream &str, AB3History &ab3)
INLINE_FUNCTION iOstream & operator<<(iOstream &str, const AB3History &ab3)
bool operator()() const
() operator, return bool value
Logical(bool s)
Construct from bool.
Logical & operator=(const bool &b)
Assignment with bool.
Holds a bool value and converts strings to bool.
Logical()=default
Default constructor.
Logical(bool s, int yns)
Construct from bool and set number.
Logical operator!() const
Not operator.
int yesNoSet_
Set numbe of of Yes or No.
Interface class for any output stream.