Package ghidra.program.util
Class InteriorSelection
- java.lang.Object
-
- ghidra.program.util.InteriorSelection
-
public class InteriorSelection extends java.lang.Object
Specifies a selection that consists of components inside a structure.
-
-
Constructor Summary
Constructors Constructor Description InteriorSelection(ProgramLocation from, ProgramLocation to, Address start, Address end)
Construct a new interior selection.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
getByteLength()
Get the number of bytes contained in the selection.Address
getEndAddress()
Get the end address of this selection.ProgramLocation
getFrom()
Get the start location.Address
getStartAddress()
Get the start address of this selection.ProgramLocation
getTo()
Get the end location.java.lang.String
toString()
-
-
-
Constructor Detail
-
InteriorSelection
public InteriorSelection(ProgramLocation from, ProgramLocation to, Address start, Address end)
Construct a new interior selection.- Parameters:
from
- start locationto
- end locationstart
- start addressend
- end address
-
-
Method Detail
-
getFrom
public ProgramLocation getFrom()
Get the start location.- Returns:
- ProgramLocation
-
getTo
public ProgramLocation getTo()
Get the end location.- Returns:
- ProgramLocation
-
getStartAddress
public Address getStartAddress()
Get the start address of this selection.- Returns:
- Address
-
getEndAddress
public Address getEndAddress()
Get the end address of this selection.- Returns:
- Address
-
getByteLength
public int getByteLength()
Get the number of bytes contained in the selection.- Returns:
- int
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
- See Also:
Object.equals(Object)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-