Package ghidra.program.model.data
Interface Array
-
- All Superinterfaces:
DataType
- All Known Implementing Classes:
ArrayDataType
public interface Array extends DataType
Array interface
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ARRAY_LABEL_PREFIX
-
Fields inherited from interface ghidra.program.model.data.DataType
CONFLICT_SUFFIX, DEFAULT, NO_LAST_CHANGE_TIME, NO_SOURCE_SYNC_TIME, VOID
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DataType
getDataType()
Returns the dataType of the elements in the array.int
getElementLength()
Returns the length of an element in the arrayint
getNumElements()
Returns the number of elements in the array-
Methods inherited from interface ghidra.program.model.data.DataType
addParent, clone, copy, dataTypeDeleted, dataTypeNameChanged, dataTypeReplaced, dataTypeSizeChanged, dependsOn, getAlignment, getCategoryPath, getDataTypeManager, getDataTypePath, getDefaultAbbreviatedLabelPrefix, getDefaultLabelPrefix, getDefaultLabelPrefix, getDefaultOffcutLabelPrefix, getDefaultSettings, getDescription, getDisplayName, getDocs, getLastChangeTime, getLastChangeTimeInSourceArchive, getLength, getMnemonic, getName, getParents, getPathName, getRepresentation, getSettingsDefinitions, getSourceArchive, getUniversalID, getValue, getValueClass, isDeleted, isDynamicallySized, isEquivalent, isNotYetDefined, removeParent, replaceWith, setCategoryPath, setDefaultSettings, setDescription, setLastChangeTime, setLastChangeTimeInSourceArchive, setName, setNameAndCategory, setSourceArchive
-
-
-
-
Field Detail
-
ARRAY_LABEL_PREFIX
static final java.lang.String ARRAY_LABEL_PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
getNumElements
int getNumElements()
Returns the number of elements in the array- Returns:
- the number of elements in the array
-
getElementLength
int getElementLength()
Returns the length of an element in the array- Returns:
- the length of one element in the array.
-
getDataType
DataType getDataType()
Returns the dataType of the elements in the array.- Returns:
- the dataType of the elements in the array
-
-