public void write(Category category, TaskMonitor monitor)
			throws IOException, CancelledException {
		DataType[] dataTypes = category.getDataTypes();
		write(dataTypes, monitor);

		Category[] subCategories = category.getCategories();
		for (Category subCategory : subCategories) {
			if (monitor.isCancelled()) {
				return;
			}
			write(subCategory, monitor);
		}
	}
Converts all data types in the category into ANSI-C code.
@param category the category containing the datatypes to write
@param monitor the task monitor
@throws IOException if there is an exception writing the output
@throws CancelledException if the action is cancelled by the user
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/data/DataTypeWriter.java