@Override
	public void deleteAll() {
		for (DataTypeComponentImpl dtc : components) {
			dtc.getDataType().removeParent(this);
		}
		components.clear();
		structLength = 0;
		numComponents = 0;
		notifySizeChanged();
	}
Gets the number of Undefined bytes beginning at the indicated component index. Undefined
bytes that have a field name or comment specified are also included.

@param index the component index to begin checking at.
@return the number of contiguous undefined bytes
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/data/StructureDataType.java