control_line_adder Class Reference
Helper class for adding lines in an easier way.
More...
List of all members.
Public Member Functions |
| control_line_adder (gate &g) |
| Default constructor.
|
target_line_adder | operator() () |
| Add no control line.
|
target_line_adder | operator() (const gate::line &l1) |
| Add one control line.
|
target_line_adder | operator() (const gate::line &l1, const gate::line &l2) |
| Add two control lines.
|
target_line_adder | operator() (const gate::line &l1, const gate::line &l2, const gate::line &l3) |
| Add three control lines.
|
target_line_adder | operator() (const gate::line &l1, const gate::line &l2, const gate::line &l3, const gate::line &l4) |
| Add four control lines.
|
target_line_adder | operator() (const gate::line &l1, const gate::line &l2, const gate::line &l3, const gate::line &l4, const gate::line &l5) |
| Add five control lines.
|
target_line_adder | operator() (const gate::line &l1, const gate::line &l2, const gate::line &l3, const gate::line &l4, const gate::line &l5, const gate::line &l6) |
| Add six control lines.
|
target_line_adder | operator() (const gate::line &l1, const gate::line &l2, const gate::line &l3, const gate::line &l4, const gate::line &l5, const gate::line &l6, const gate::line &l7) |
| Add seven control lines.
|
target_line_adder | operator() (const gate::line &l1, const gate::line &l2, const gate::line &l3, const gate::line &l4, const gate::line &l5, const gate::line &l6, const gate::line &l7, const gate::line &l8) |
| Add eight control lines.
|
target_line_adder | operator() (const gate::line &l1, const gate::line &l2, const gate::line &l3, const gate::line &l4, const gate::line &l5, const gate::line &l6, const gate::line &l7, const gate::line &l8, const gate::line &l9) |
| Add nine control lines.
|
Detailed Description
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.
- Author:
- RevKit
- Since:
- 1.0
- See also:
- Adding Gates
Constructor & Destructor Documentation
Default constructor.
- Parameters:
-
| g | Gate, to which control lines should be added |
- See also:
- Adding Gates
- Author:
- RevKit
- Since:
- 1.0
Member Function Documentation
Add nine control lines.
- Parameters:
-
| l1 | First control line |
| l2 | Second control line |
| l3 | Second control line |
| l4 | Fourth control line |
| l5 | Fifth control line |
| l6 | Sixth control line |
| l7 | Seventh control line |
| l8 | Eighth control line |
| l9 | Ninth control line |
- Returns:
- A target_line_adder
- See also:
- Adding Gates
- Author:
- RevKit
- Since:
- 1.0
Add eight control lines.
- Parameters:
-
| l1 | First control line |
| l2 | Second control line |
| l3 | Second control line |
| l4 | Fourth control line |
| l5 | Fifth control line |
| l6 | Sixth control line |
| l7 | Seventh control line |
| l8 | Eighth control line |
- Returns:
- A target_line_adder
- See also:
- Adding Gates
- Author:
- RevKit
- Since:
- 1.0
Add seven control lines.
- Parameters:
-
| l1 | First control line |
| l2 | Second control line |
| l3 | Second control line |
| l4 | Fourth control line |
| l5 | Fifth control line |
| l6 | Sixth control line |
| l7 | Seventh control line |
- Returns:
- A target_line_adder
- See also:
- Adding Gates
- Author:
- RevKit
- Since:
- 1.0
Add six control lines.
- Parameters:
-
| l1 | First control line |
| l2 | Second control line |
| l3 | Second control line |
| l4 | Fourth control line |
| l5 | Fifth control line |
| l6 | Sixth control line |
- Returns:
- A target_line_adder
- See also:
- Adding Gates
- Author:
- RevKit
- Since:
- 1.0
Add five control lines.
- Parameters:
-
| l1 | First control line |
| l2 | Second control line |
| l3 | Second control line |
| l4 | Fourth control line |
| l5 | Fifth control line |
- Returns:
- A target_line_adder
- See also:
- Adding Gates
- Author:
- RevKit
- Since:
- 1.0
Add four control lines.
- Parameters:
-
| l1 | First control line |
| l2 | Second control line |
| l3 | Second control line |
| l4 | Fourth control line |
- Returns:
- A target_line_adder
- See also:
- Adding Gates
- Author:
- RevKit
- Since:
- 1.0
Add three control lines.
- Parameters:
-
| l1 | First control line |
| l2 | Second control line |
| l3 | Second control line |
- Returns:
- A target_line_adder
- See also:
- Adding Gates
- Author:
- RevKit
- Since:
- 1.0
Add two control lines.
- Parameters:
-
| l1 | First control line |
| l2 | Second control line |
- Returns:
- A target_line_adder
- See also:
- Adding Gates
- Author:
- RevKit
- Since:
- 1.0
The documentation for this class was generated from the following file: