Package ghidra.app.plugin.processors.sleigh.template

# Class OpTpl

java.lang.Object
ghidra.app.plugin.processors.sleigh.template.OpTpl

public class OpTpl extends Object
Placeholder for what will resolve to a PcodeOp for a specific InstructionContext

- ## Constructor Summary

  Constructors
  Modifier
  Constructor
  Description
  `protected`
  `OpTpl()`
  ``
  `OpTpl(int opcode, VarnodeTpl output, VarnodeTpl[] inputs)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `VarnodeTpl[]`
  `getInput()`
  `int`
  `getOpcode()`
  `VarnodeTpl`
  `getOutput()`
  `void`
  `restoreXml(XmlPullParser parser, AddressFactory factory)`
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### OpTpl

    protected OpTpl()

  - ### OpTpl

    public OpTpl(int opcode, VarnodeTpl output, VarnodeTpl[] inputs)

- ## Method Details

  - ### getOutput

    public VarnodeTpl getOutput()

  - ### getInput

    public VarnodeTpl[] getInput()

  - ### getOpcode

    public int getOpcode()

  - ### restoreXml

    public void restoreXml(XmlPullParser parser, AddressFactory factory) throws UnknownInstructionException
    Throws:
      `UnknownInstructionException`

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`