EPANET  3.0
EPANET Development Project
Public Member Functions | Public Attributes | List of all members
OutputFile Class Reference

Manages the writing and reading of analysis results to a binary file. More...

#include <outputfile.h>

Public Member Functions

int open (const std::string fileName, Network *nw)
 
void close ()
 
int initWriter ()
 
int writeEnergyResults (double totalHrs, double peakKwatts)
 
int writeNetworkResults ()
 
int initReader ()
 
void seekEnergyOffset ()
 
void readEnergyResults (int *pumpIndex)
 
void readEnergyDemandCharge (float *demandCharge)
 
void seekNetworkOffset ()
 
void readNodeResults ()
 
void readLinkResults ()
 
void skipNodeResults ()
 
void skipLinkResults ()
 

Public Attributes

friend ReportWriter
 

Detailed Description

Manages the writing and reading of analysis results to a binary file.


The documentation for this class was generated from the following files: