DISPLACE  1.0
A spatial model of fisheries to help sustainable fishing and maritime spatial planning
WindfarmsStats Class Reference

#include <windfarmsstats.h>

Classes

struct  StatData
 

Public Member Functions

 WindfarmsStats ()
 
 ~WindfarmsStats () noexcept=default
 
 WindfarmsStats (const WindfarmsStats &b)
 
 WindfarmsStats (WindfarmsStats &&b)
 
WindfarmsStatsoperator= (const WindfarmsStats &b)
 
WindfarmsStatsoperator= (WindfarmsStats &&b)
 
bool dirty () const
 
void setDirty (bool dirty=true)
 
void clear ()
 
void collectkWh (int step, int windfarmid, int windfarmtypeid, double kWh)
 
void collectkWproduction (int step, int windfarmid, int windfarmtypeid, double kWproduction)
 
double kWhForWindfarmAndWindfarmGroup (int windfarmid, int windfarmtypeid) const
 
double kWProductionForWindfarmAndWindfarmGroup (int windfarmid, int windfarmtypeid) const
 
const QVector< QVector< StatData > > data () const
 

Static Public Attributes

static const WindfarmsStats::StatData NoData
 

Constructor & Destructor Documentation

◆ WindfarmsStats() [1/3]

WindfarmsStats::WindfarmsStats ( )

◆ ~WindfarmsStats()

WindfarmsStats::~WindfarmsStats ( )
defaultnoexcept

◆ WindfarmsStats() [2/3]

WindfarmsStats::WindfarmsStats ( const WindfarmsStats b)

◆ WindfarmsStats() [3/3]

WindfarmsStats::WindfarmsStats ( WindfarmsStats &&  b)

Member Function Documentation

◆ clear()

void WindfarmsStats::clear ( )

◆ collectkWh()

void WindfarmsStats::collectkWh ( int  step,
int  windfarmid,
int  windfarmtypeid,
double  kWh 
)

◆ collectkWproduction()

void WindfarmsStats::collectkWproduction ( int  step,
int  windfarmid,
int  windfarmtypeid,
double  kWproduction 
)

◆ data()

const QVector<QVector<StatData> > WindfarmsStats::data ( ) const
inline

◆ dirty()

bool WindfarmsStats::dirty ( ) const
inline

◆ kWhForWindfarmAndWindfarmGroup()

double WindfarmsStats::kWhForWindfarmAndWindfarmGroup ( int  windfarmid,
int  windfarmtypeid 
) const

◆ kWProductionForWindfarmAndWindfarmGroup()

double WindfarmsStats::kWProductionForWindfarmAndWindfarmGroup ( int  windfarmid,
int  windfarmtypeid 
) const

◆ operator=() [1/2]

WindfarmsStats & WindfarmsStats::operator= ( const WindfarmsStats b)

◆ operator=() [2/2]

WindfarmsStats & WindfarmsStats::operator= ( WindfarmsStats &&  b)

◆ setDirty()

void WindfarmsStats::setDirty ( bool  dirty = true)
inline

Member Data Documentation

◆ NoData

const WindfarmsStats::StatData WindfarmsStats::NoData
static

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