Public Member Functions

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

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,
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
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 
)

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 
)

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 
)

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 
)

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 
)

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 
)

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)

Add one control line.

Parameters:
l1First 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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Defines

Generated on Wed May 25 2011 16:34:52 for RevKit by doxygen 1.7.3