ilang
1.1.4
ILAng: A Modeling and Verification Platform for SoCs
|
The container for representing Boolean values. More...
#include <sort_value.h>
Public Types | |
typedef std::shared_ptr< BoolVal > | BoolValPtr |
Pointer type for all use of BoolVal. | |
![]() | |
typedef std::shared_ptr< Value > | ValPtr |
Pointer type for all use of Value. | |
Public Member Functions | |
BoolVal (const bool &val) | |
Constructor with boolean value. | |
BoolVal (const std::string &str) | |
Constructor with cpp string. | |
BoolVal (const char *cstr) | |
Constructor with c string. | |
~BoolVal () | |
Default destructor. | |
std::string | str () const |
Return the string representation of the value. | |
const bool & | val () const |
Return the bool representation of the value. | |
std::ostream & | Print (std::ostream &out) const |
Output to stream. | |
![]() | |
virtual | ~Value () |
virtual destructor. | |
Friends | |
std::ostream & | operator<< (std::ostream &out, const BoolVal &val) |
Overload output stream operator. | |
The container for representing Boolean values.