- A Logic Circuit Simulation Library in C++ |
#include <delexprpair.h>
See lcs::Expression<1, LINE_EXPR, void, void>::operator=
and lcs::Bus::operator=
for more information on incorporating assignment delays.
Public Member Functions | |
DelayExprPair (unsigned int delay, const Expression< bits, Type, LExprType, RExprType > &expr) | |
DelayExprPair (const DelayExprPair< bits, Type, LExprType, RExprType > &obj) | |
unsigned int | getDelay (void) const |
const Expression< bits, Type, LExprType, RExprType > | getExpr (void) const |
lcs::DelayExprPair< bits, Type, LExprType, RExprType >::DelayExprPair | ( | unsigned int | delay, | |
const Expression< bits, Type, LExprType, RExprType > & | expr | |||
) | [inline] |
The only useful constructor.
lcs::DelayExprPair< bits, Type, LExprType, RExprType >::DelayExprPair | ( | const DelayExprPair< bits, Type, LExprType, RExprType > & | obj | ) | [inline] |
Copy constructor.
unsigned int lcs::DelayExprPair< bits, Type, LExprType, RExprType >::getDelay | ( | void | ) | const [inline] |
Returns the delay associated with the delay-expression pair.
const Expression<bits, Type, LExprType, RExprType> lcs::DelayExprPair< bits, Type, LExprType, RExprType >::getExpr | ( | void | ) | const [inline] |
Returns the expression associated with the delay-expression pair.