List of all members | Public Member Functions
control_line_adder Class Reference

Helper class for adding lines in an easier way. More...

Public Member Functions

 control_line_adder (gate &g)
 Default constructor. More...
 
target_line_adder operator() ()
 Add no control line. More...
 
target_line_adder operator() (const gate::line &l1)
 Add one control line. More...
 
target_line_adder operator() (const gate::line &l1, const gate::line &l2)
 Add two control lines. More...
 
target_line_adder operator() (const gate::line &l1, const gate::line &l2, const gate::line &l3)
 Add three control lines. More...
 
target_line_adder operator() (const gate::line &l1, const gate::line &l2, const gate::line &l3, const gate::line &l4)
 Add four control lines. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 

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

control_line_adder ( gate g)
explicit

Default constructor.

Parameters
gGate, to which control lines should be added
See Also
Adding Gates
Author
RevKit
Since
1.0

Member Function Documentation

target_line_adder operator() ( )

Add no control line.

Returns
A target_line_adder
See Also
Adding Gates
Author
RevKit
Since
1.0
target_line_adder operator() ( const gate::line l1)

Add one control line.

Parameters
l1First control line
Returns
A target_line_adder
See Also
Adding Gates
Author
RevKit
Since
1.0
target_line_adder operator() ( const gate::line l1,
const gate::line l2 
)

Add two control lines.

Parameters
l1First control line
l2Second control line
Returns
A target_line_adder
See Also
Adding Gates
Author
RevKit
Since
1.0
target_line_adder operator() ( const gate::line l1,
const gate::line l2,
const gate::line l3 
)

Add three control lines.

Parameters
l1First control line
l2Second control line
l3Second control line
Returns
A target_line_adder
See Also
Adding Gates
Author
RevKit
Since
1.0
target_line_adder operator() ( const gate::line l1,
const gate::line l2,
const gate::line l3,
const gate::line l4 
)

Add four control lines.

Parameters
l1First control line
l2Second control line
l3Second control line
l4Fourth control line
Returns
A target_line_adder
See Also
Adding Gates
Author
RevKit
Since
1.0
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.

Parameters
l1First control line
l2Second control line
l3Second control line
l4Fourth control line
l5Fifth control line
Returns
A target_line_adder
See Also
Adding Gates
Author
RevKit
Since
1.0
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.

Parameters
l1First control line
l2Second control line
l3Second control line
l4Fourth control line
l5Fifth control line
l6Sixth control line
Returns
A target_line_adder
See Also
Adding Gates
Author
RevKit
Since
1.0
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.

Parameters
l1First control line
l2Second control line
l3Second control line
l4Fourth control line
l5Fifth control line
l6Sixth control line
l7Seventh control line
Returns
A target_line_adder
See Also
Adding Gates
Author
RevKit
Since
1.0
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.

Parameters
l1First control line
l2Second control line
l3Second control line
l4Fourth control line
l5Fifth control line
l6Sixth control line
l7Seventh control line
l8Eighth control line
Returns
A target_line_adder
See Also
Adding Gates
Author
RevKit
Since
1.0
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.

Parameters
l1First control line
l2Second control line
l3Second control line
l4Fourth control line
l5Fifth control line
l6Sixth control line
l7Seventh control line
l8Eighth control line
l9Ninth 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:

Generated on Tue Apr 16 2013 08:12:02 for RevKit by doxygen 1.8.3.1