UnionDataType

Package: ghidra.program.model.data
Type: class

10.4_PUBLIC

removedmethod: getPreferredComponentLength
int getPreferredComponentLength(ghidra.program.model.data.DataType dataType, int length)

10.1_PUBLIC

removedmethod: isNotYetDefined
boolean isNotYetDefined()

10.0_PUBLIC

addedmethod: getAlignment
int getAlignment()
addedmethod: getPreferredComponentLength
int getPreferredComponentLength(ghidra.program.model.data.DataType dataType, int length)
addedmethod: hasLanguageDependantLength
boolean hasLanguageDependantLength()
addedmethod: isZeroLength
boolean isZeroLength()
addedmethod: repack
boolean repack(boolean notify)
modifiedmethod: clone
return type: DataType → Union
- ghidra.program.model.data.DataType clone(ghidra.program.model.data.DataTypeManager dtm)
+ ghidra.program.model.data.Union clone(ghidra.program.model.data.DataTypeManager dtm)
modifiedmethod: insertBitField
added throws IndexOutOfBoundsException; removed throws ArrayIndexOutOfBoundsException
- ghidra.program.model.data.DataTypeComponent insertBitField(int ordinal, ghidra.program.model.data.DataType baseDataType, int bitSize, java.lang.String componentName, java.lang.String comment) throws InvalidDataTypeException, ArrayIndexOutOfBoundsException
+ ghidra.program.model.data.DataTypeComponent insertBitField(int ordinal, ghidra.program.model.data.DataType baseDataType, int bitSize, java.lang.String componentName, java.lang.String comment) throws InvalidDataTypeException, IndexOutOfBoundsException
modifiedtype-implements: UnionDataType
- ghidra.program.model.data.Union
+ ghidra.program.model.data.UnionInternal
removedmethod: adjustInternalAlignment
void adjustInternalAlignment()
removedmethod: dataTypeNameChanged
void dataTypeNameChanged(ghidra.program.model.data.DataType dt, java.lang.String oldName)
removedmethod: delete
void delete(int[] ordinals)
removedmethod: realign
void realign()

9.2_PUBLIC

addedmethod: getDefinedComponents
ghidra.program.model.data.DataTypeComponent[] getDefinedComponents()
addedmethod: getNumDefinedComponents
int getNumDefinedComponents()
modifiedmethod: add
added throws IllegalArgumentException
- ghidra.program.model.data.DataTypeComponent add(ghidra.program.model.data.DataType dataType, int length, java.lang.String componentName, java.lang.String comment)
+ ghidra.program.model.data.DataTypeComponent add(ghidra.program.model.data.DataType dataType, int length, java.lang.String componentName, java.lang.String comment) throws IllegalArgumentException
modifiedmethod: dataTypeReplaced
added throws IllegalArgumentException
- void dataTypeReplaced(ghidra.program.model.data.DataType oldDt, ghidra.program.model.data.DataType newDt)
+ void dataTypeReplaced(ghidra.program.model.data.DataType oldDt, ghidra.program.model.data.DataType newDt) throws IllegalArgumentException
modifiedmethod: insert
added throws IllegalArgumentException
- ghidra.program.model.data.DataTypeComponent insert(int ordinal, ghidra.program.model.data.DataType dataType, int length, java.lang.String componentName, java.lang.String comment)
+ ghidra.program.model.data.DataTypeComponent insert(int ordinal, ghidra.program.model.data.DataType dataType, int length, java.lang.String componentName, java.lang.String comment) throws IllegalArgumentException
modifiedmethod: replaceWith
added throws IllegalArgumentException
- void replaceWith(ghidra.program.model.data.DataType dataType)
+ void replaceWith(ghidra.program.model.data.DataType dataType) throws IllegalArgumentException

9.1_PUBLIC

addedmethod: addBitField
ghidra.program.model.data.DataTypeComponent addBitField(ghidra.program.model.data.DataType baseDataType, int bitSize, java.lang.String componentName, java.lang.String comment) throws InvalidDataTypeException
addedmethod: insertBitField
ghidra.program.model.data.DataTypeComponent insertBitField(int ordinal, ghidra.program.model.data.DataType baseDataType, int bitSize, java.lang.String componentName, java.lang.String comment) throws InvalidDataTypeException, ArrayIndexOutOfBoundsException
removedmethod: align
void align(ghidra.program.model.data.DataOrganization dataOrganization)
removedmethod: getPackingValue
int getPackingValue()
removedmethod: setPackingValue
void setPackingValue(int packingValue)

9.0.1_PUBLIC

introducedInitial version