Interface TraceData

All Superinterfaces:
CodeUnit, Data, MemBuffer, PropertySet, Settings, TraceCodeUnit
All Known Subinterfaces:
DBTraceDataAdapter, DBTraceDefinedDataAdapter
All Known Implementing Classes:
AbstractDBTraceDataComponent, AbstractDBTraceProgramViewListing.DBTraceProgramViewUndefinedData, DBTraceData, DBTraceDataArrayElementComponent, DBTraceDataCompositeFieldComponent, UndefinedDBTraceData

public interface TraceData extends TraceCodeUnit, Data
A data unit in a Trace
  • Method Details

    • getComponent

      TraceData getComponent(int index)
      Description copied from interface: Data
      Returns the immediate n'th component or null if none exists.
      Specified by:
      getComponent in interface Data
      Parameters:
      index - the index of the component to get.
      Returns:
      the component
    • getComponentAt

      TraceData getComponentAt(int offset)
      Description copied from interface: Data
      Return the first immediate child component that contains the byte at the given offset. It is important to note that with certain datatypes there may be more than one component containing the specified offset (see Data.getComponentsContaining(int)).
      Specified by:
      getComponentAt in interface Data
      Parameters:
      offset - the amount to add to this data items address to get the address of the requested data item.
      Returns:
      first data component containing offset or null
    • getComponentContaining

      TraceData getComponentContaining(int offset)
      Description copied from interface: Data
      Return the first immediate child component that contains the byte at the given offset. It is important to note that with certain datatypes there may be more than one component containing the specified offset (see Data.getComponentsContaining(int)).
      Specified by:
      getComponentContaining in interface Data
      Parameters:
      offset - the amount to add to this data items address to get the
      Returns:
      first data component containing offset or null address of the requested data item.
    • getComponent

      TraceData getComponent(int[] componentPath)
      Description copied from interface: Data
      Get a data item given the index path. Each integer in the array represents an index into the data item at that level.
      Specified by:
      getComponent in interface Data
      Parameters:
      componentPath - the array of indexes to use to find the requested data item.
      Returns:
      the component
    • getPrimitiveAt

      TraceData getPrimitiveAt(int offset)
      Description copied from interface: Data
      Returns the primitive component containing this offset (i.e., one that does not have sub-components). This is useful for data items which are made up of multiple layers of other data items. This method immediately goes to the lowest level data item. If the minimum offset of a component is specified, the only first component containing the offset will be considered (e.g., 0-element array).
      Specified by:
      getPrimitiveAt in interface Data
      Parameters:
      offset - the offset
      Returns:
      primitive component containing this offset
    • getValueReferences

      TraceReference[] getValueReferences()
      Description copied from interface: Data
      Get the references for the value.
      Specified by:
      getValueReferences in interface Data
      Returns:
      the references