Class ReferenceListEntry
java.lang.Object
ghidra.app.util.bin.format.macos.rm.ReferenceListEntry
- All Implemented Interfaces:
StructConverter
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionbyte
Returns the resource attributes.int
Returns the offset from the beginning of the resource data to the data for this resource.int
Returns the resource handle.short
getID()
Returns the resource ID.getName()
short
Returns the offset from the beginning of the resource name list to resource name.Returns a structure datatype representing the contents of the implementor of this interface.
-
Method Details
-
getID
public short getID()Returns the resource ID.- Returns:
- the resource ID
-
getName
-
getNameOffset
public short getNameOffset()Returns the offset from the beginning of the resource name list to resource name.- Returns:
- the offset to the resource name
-
getAttributes
public byte getAttributes()Returns the resource attributes.- Returns:
- the resource attributes
-
getDataOffset
public int getDataOffset()Returns the offset from the beginning of the resource data to the data for this resource.- Returns:
- the offset to the resource data
-
getHandle
public int getHandle()Returns the resource handle. This field is reserved.- Returns:
- the resource handle
-
toDataType
Description copied from interface:StructConverter
Returns a structure datatype representing the contents of the implementor of this interface.For example, given:
class A { int foo; double bar; }
The return value should be a structure data type with two data type components; an INT and a DOUBLE. The structure should contain field names and, if possible, field comments.
- Specified by:
toDataType
in interfaceStructConverter
- Returns:
- returns a structure datatype representing the implementor of this interface
- Throws:
DuplicateNameException
- when a datatype of the same name already existsIOException
- See Also:
-