public void write(List<DataType> dataTypes, TaskMonitor monitor,
			boolean throwExceptionOnInvalidType) throws IOException, CancelledException {
		monitor.initialize(dataTypes.size());
		int cnt = 0;
		for (DataType dataType : dataTypes) {
			monitor.checkCancelled();
			write(dataType, monitor, throwExceptionOnInvalidType);
			monitor.setProgress(++cnt);
		}
	}
Converts all data types in the list into ANSI-C code.
@param dataTypes the data types 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