XACC
|
#include <InstructionVisitor.hpp>
Public Member Functions | |
virtual void | visit (T &)=0 |
virtual | ~InstructionVisitor () |
The InstructionVisitor provides a visit method for the provided template parameter.
|
inlinevirtual |
The destructor
|
pure virtual |
This method should be implemented by subclasses to perform Visitor-specific behavior on the given instance of the template parameter T.
Implemented in xacc::quantum::OpenPulseVisitor, and xacc::quantum::CountGatesOfTypeVisitor< GateType >.