.BuildSysPro.IBPSA.Utilities.IO.Files.BaseClasses.JSONWriterObject.constructor

Verify whether a file writer with the same path exists and cache variable keys

Information

Creates an empty file with name fileName. If fileName is used in another instance of IBPSA.Utilities.IO.Files.CSVWriter, the simulation stops with an error.

Interface

function constructor
  extends Modelica.Icons.Function;
  input String instanceName "Instance name of the file write";
  input String fileName "Name of the file, including extension";
  input Boolean dumpAtDestruction "=true, to write cached values at destruction";
  input String[:] varKeys "Keys for values that are written to file";
  output JSONWriterObject jsonWriter "Pointer to the file writer";
end constructor;

Revisions

c
Generated at 2025-03-10T19:24:30Z by OpenModelicaOpenModelica 1.24.5 using GenerateDoc.mos