#include <circuitAssert.h>
◆ CircuitAssert()
      
        
          | CircuitAssert::CircuitAssert  | 
          ( | 
          const std::string &  | 
          name,  | 
        
        
           | 
           | 
          ExpressionBase *  | 
          expr  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ ~CircuitAssert()
  
  
      
        
          | CircuitAssert::~CircuitAssert  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
Deletes the gate's expression 
 
 
◆ addInput()
      
        
          | void CircuitAssert::addInput  | 
          ( | 
          WireId *  | 
          wire | ) | 
           | 
        
      
 
Adds wire as the next input for this gate. 
 
 
◆ circType()
  
  
      
        
          | CircType CircuitAssert::circType  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlinevirtual   | 
  
 
Returns the tree element's type 
Implements CircuitTree.
 
 
◆ expression()
◆ innerEqual()
  
  
      
        
          | bool CircuitAssert::innerEqual  | 
          ( | 
          CircuitTree *  | 
          othTree | ) | 
           | 
         
       
   | 
  
protectedvirtual   | 
  
 
Computes the actual equality of two gates, assumed of the same type 
Implements CircuitTree.
 
 
◆ innerSignature()
  
  
      
        
          | sign_t CircuitAssert::innerSignature  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
protectedvirtual   | 
  
 
Computes the inner signature of a gate. This should be reimplemented for every gate type. 
Implements CircuitTree.
 
 
◆ inp_begin()
  
  
      
        
          | IoIter CircuitAssert::inp_begin  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlinevirtual   | 
  
 
Get an iterator to the first input wire 
Implements CircuitTree.
 
 
◆ inputCount()
  
  
      
        
          | size_t CircuitAssert::inputCount  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
virtual   | 
  
 
 
◆ inputs()
  
  
      
        
          | const std::vector<WireId*>& CircuitAssert::inputs  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ name()
  
  
      
        
          | const std::string CircuitAssert::name  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ nth_input()
  
  
      
        
          | WireId * CircuitAssert::nth_input  | 
          ( | 
          size_t  | 
          circId | ) | 
           const | 
         
       
   | 
  
virtual   | 
  
 
 
◆ nth_output()
  
  
      
        
          | WireId * CircuitAssert::nth_output  | 
          ( | 
          size_t  | 
          circId | ) | 
           const | 
         
       
   | 
  
virtual   | 
  
 
 
◆ out_begin()
  
  
      
        
          | IoIter CircuitAssert::out_begin  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlinevirtual   | 
  
 
Get an iterator to the first output wire 
Implements CircuitTree.
 
 
◆ out_end()
  
  
      
        
          | IoIter CircuitAssert::out_end  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlinevirtual   | 
  
 
Get an iterator to the end of output wires 
Implements CircuitTree.
 
 
◆ outputCount()
  
  
      
        
          | size_t CircuitAssert::outputCount  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
virtual   | 
  
 
 
◆ toDot()
  
  
      
        
          | void CircuitAssert::toDot  | 
          ( | 
          std::basic_ostream< char > &  | 
          out,  | 
         
        
           | 
           | 
          int  | 
          indent = 0  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
virtual   | 
  
 
Generates a Dot representation of the circuit, primarily intended for debugging. 
Implements CircuitTree.
 
 
The documentation for this class was generated from the following files: