|
- A Logic Circuit Simulation Library in C++ |
#include <bit.h>
lcs::LineState value. Users of libLCS will not need to directly use Bit objects under normal circumstances. One has to use objects of class lcs::BitBuffer, which bundles one or more Bit objects, as neccesary.
Public Member Functions | |
| Bit (void) | |
| Bit (const Bit &bit) | |
| ~Bit () | |
| void | operator= (const LineState &rhs) |
| const LineState | state (void) |
Private Member Functions | |
| Bit & | operator= (const Bit &rhs) |
| lcs::Bit::Bit | ( | void | ) |
The default constructor.
| lcs::Bit::Bit | ( | const Bit & | bit | ) |
The copy constructor.
| lcs::Bit::~Bit | ( | ) |
Destructor.
| void lcs::Bit::operator= | ( | const LineState & | rhs | ) |
An assignment operator to assign the bit state using a lcs::LineState variable.
| rhs | The RHS lcs::LineState variable for the assignment operator. |
| const LineState lcs::Bit::state | ( | void | ) | [inline] |
Returns the logic state of the bit.