#include <CatchmentSectorAuxiliary.h>
Inheritance diagram for IrrigationMethod:
Public Member Functions | |
IrrigationMethod () | |
IrrigationMethod (int catchmentID_, int numMethods) | |
IrrigationMethod (IrrigationMethod ©Class) | |
virtual | ~IrrigationMethod () |
void | initialize (IrrigationMethod ©Class) |
void | allocate () |
void | allocateSpecific (int catchmentID_, int numMethods_) |
virtual void | deallocate () |
Read - Write functions | |
virtual int | readAllIrrigationMethods (int catchmentID_) |
virtual void | writeIrrigationMethods (string filename) |
virtual void | writeIrrigationMethods (ofstream &out) |
virtual void | writeHeader (ofstream &out) |
virtual void | writeLineToFile (int i, ofstream &out) |
Access functions | |
virtual irrigationMethodData | getIrrigationMethodData (int numMethod) |
virtual double | getFlowShareByType (int numMethod, TypeEdicFlow typeFlow) |
virtual double | getPlantShare (int numMethod) |
virtual double | getPlantShare (int numMethod) const |
virtual void | setFlowShareByType (int numMethod, TypeEdicFlow typeFlow, double val) |
virtual string | getMethodName (int numMethod) |
virtual void | setRestOfValues (int numMethod, TypeEdicFlow typeFlow, double val) |
virtual double | getRestOfFlows (int numMethod, int typeFlow) |
int | getNumMethods () |
int | getCatchmentID () |
virtual int | getMaxType () |
Print functions | |
virtual void | printToScreen () |
virtual void | printHeader () |
virtual void | printLineToScreen (int i) |
Protected Attributes | |
irrigationMethodData * | IMdata |
Private Attributes | |
int | catchmentID |
int | numMethods |
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented in IrrigationMethodSector. |
|
|
|
|
|
|
|
Reimplemented in IrrigationMethodSector. |
|
|
|
|
|
|
|
|
|
Reimplemented in IrrigationMethodSector. |
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented in IrrigationMethodSector. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|