List of all members | Public Member Functions
target_line_adder Class Reference

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

Public Member Functions

 target_line_adder (gate *gate)
 Default constructor. More...
 
gateoperator() (const gate::line &l1)
 Add one target line. More...
 
gateoperator() (const gate::line &l1, const gate::line &l2)
 Add two target 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

target_line_adder ( gate gate)
explicit

Default constructor.

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

Member Function Documentation

gate& operator() ( const gate::line l1)

Add one target line.

Parameters
l1First target line
Returns
A smart pointer to the gate
See Also
Adding Gates
Author
RevKit
Since
1.0
gate& operator() ( const gate::line l1,
const gate::line l2 
)

Add two target lines.

Parameters
l1First target line
l2Second target line
Returns
A smart pointer to the gate
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