Helper class for adding lines in an easier way. More...
Public Member Functions | |
target_line_adder (gate *gate) | |
Default constructor. More... | |
gate & | operator() (const gate::line &l1) |
Add one target line. More... | |
gate & | operator() (const gate::line &l1, const gate::line &l2) |
Add two target lines. More... | |
Helper class for adding lines in an easier way.
This class should not be used stand alone but just with the add_gate methods designed for this purpose. See also Adding Gates.
|
explicit |
Default constructor.
gate | Gate, to which target lines should be added |
gate& operator() | ( | const gate::line & | l1 | ) |
Add one target line.
l1 | First target line |
gate& operator() | ( | const gate::line & | l1, |
const gate::line & | l2 | ||
) |
Add two target lines.
l1 | First target line |
l2 | Second target line |