ilang  0.9.1
ILAng: A Modeling and Verification Platform for SoCs
Public Types | Public Member Functions | Friends | List of all members
ilang::BoolVal Class Reference

The container for representing Boolean values. More...

#include <sort_value.h>

Inheritance diagram for ilang::BoolVal:
ilang::Value

Public Types

typedef std::shared_ptr< BoolValBoolValPtr
 Pointer type for all use of BoolVal.
 
- Public Types inherited from ilang::Value
typedef std::shared_ptr< ValueValPtr
 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.
 
- Public Member Functions inherited from ilang::Value
virtual ~Value ()
 virtual destructor.
 

Friends

std::ostream & operator<< (std::ostream &out, const BoolVal &val)
 Overload output stream operator.
 

Detailed Description

The container for representing Boolean values.


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