EPANET
Functions
File Management

Functions

int DLLEXPORT ENwriteline (char *line)
 Writes line of text to the report file. More...
 
int DLLEXPORT ENreport ()
 Writes simulation report to the report file. More...
 
int DLLEXPORT ENresetreport ()
 Resets report options to default values. More...
 
int DLLEXPORT ENsetreport (char *reportFormat)
 Processes a reporting format command. More...
 
int DLLEXPORT ENclose ()
 Frees all memory and files used by EPANET. More...
 

Detailed Description

Function Documentation

§ ENclose()

int ENclose ( )

Frees all memory and files used by EPANET.

Returns
Error code

§ ENreport()

int ENreport ( )

Writes simulation report to the report file.

Returns
Error code

§ ENresetreport()

int ENresetreport ( )

Resets report options to default values.

Returns
Error code

§ ENsetreport()

int ENsetreport ( char *  reportFormat)

Processes a reporting format command.

Returns
Error code

§ ENwriteline()

int ENwriteline ( char *  line)

Writes line of text to the report file.

Parameters
lineText string to write
Returns
Error code.