Class DBTraceOverlaySpaceAdapter.AddressDBFieldCodec<OT extends DBAnnotatedObject & DBTraceOverlaySpaceAdapter.DecodesAddresses>

java.lang.Object
ghidra.util.database.DBCachedObjectStoreFactory.AbstractDBFieldCodec<Address,OT,FixedField10>
ghidra.trace.database.address.DBTraceOverlaySpaceAdapter.AddressDBFieldCodec<OT>
Type Parameters:
OT - the type of object containing the field
All Implemented Interfaces:
DBCachedObjectStoreFactory.DBFieldCodec<Address,OT,FixedField10>
Enclosing class:
DBTraceOverlaySpaceAdapter

public static class DBTraceOverlaySpaceAdapter.AddressDBFieldCodec<OT extends DBAnnotatedObject & DBTraceOverlaySpaceAdapter.DecodesAddresses> extends DBCachedObjectStoreFactory.AbstractDBFieldCodec<Address,OT,FixedField10>
Used for objects having an Address field.

Most managers storing things by address will actually have a table per space, so the address is encoded only as an offset. However, any other Address field (not constrained to the same space) will need to encode the space information as well. This codec can do that. The object will need to return its trace's space adapter, though.