Package ghidra.program.model.util
Class CompositeDataTypeElementInfo
java.lang.Object
ghidra.program.model.util.DataTypeInfo
ghidra.program.model.util.CompositeDataTypeElementInfo
-
Field Summary
Fields inherited from class ghidra.program.model.util.DataTypeInfo
dataTypeAlignment, dataTypeHandle, dataTypeLength
-
Constructor Summary
ConstructorDescriptionCompositeDataTypeElementInfo
(DataTypeInfo dataTypeInfo, int dataTypeOffset) Constructor for CompositeDataTypeElementInfo (copy-ish).CompositeDataTypeElementInfo
(Object dataTypeHandle, int dataTypeOffset, int dataTypeLength, int dataTypeAlignment) Constructor for CompositeDataTypeElementInfo. -
Method Summary
Methods inherited from class ghidra.program.model.util.DataTypeInfo
getDataTypeAlignment, getDataTypeHandle, getDataTypeLength
-
Constructor Details
-
CompositeDataTypeElementInfo
public CompositeDataTypeElementInfo(Object dataTypeHandle, int dataTypeOffset, int dataTypeLength, int dataTypeAlignment) Constructor for CompositeDataTypeElementInfo.- Parameters:
dataTypeHandle
- any Object providing identity for this data typedataTypeOffset
- the offset of the element within the outer composite data typedataTypeLength
- the length of the data typedataTypeAlignment
- the alignment of the data type
-
CompositeDataTypeElementInfo
Constructor for CompositeDataTypeElementInfo (copy-ish).- Parameters:
dataTypeInfo
- the dataType this CompositeDataTypeElementInfo is based upondataTypeOffset
- the offset of the element within the outer composite data type
-
-
Method Details
-
getDataTypeOffset
public int getDataTypeOffset() -
hashCode
public int hashCode()- Overrides:
hashCode
in classDataTypeInfo
-
equals
- Overrides:
equals
in classDataTypeInfo
-
toString
-