iLand
Public Slots | Public Member Functions | Properties | List of all members
ABE::StandObj Class Reference

StandObj is the bridge to stand variables from the Javascript world. More...

#include <fomescript.h>

Inheritance diagram for ABE::StandObj:

Public Slots

double speciesBasalAreaOf (QString species_id) const
 basal area of a given species (m2/ha) given by Id. More...
 
double relSpeciesBasalAreaOf (QString species_id) const
 
double speciesBasalArea (int index) const
 
double relSpeciesBasalArea (int index) const
 
QString speciesId (int index) const
 
void setFlag (const QString &name, QJSValue value)
 
QJSValue flag (const QString &name)
 
QJSValue activity (QString name)
 
QJSValue agent ()
 
void reload ()
 force a reload of the stand data. More...
 
void sleep (int years)
 
void setAbsoluteAge (double arg)
 
void reset ()
 start the management program again (initialize the stand) More...
 

Public Member Functions

 StandObj (QObject *parent=0)
 
void setStand (FMStand *stand)
 
bool trace () const
 
void setTrace (bool do_trace)
 
double basalArea () const
 
double height () const
 
double topHeight () const
 
double age () const
 
double absoluteAge () const
 
double volume () const
 
int id () const
 
int nspecies () const
 
double area () const
 
QRectF rectangle () const
 
int timeSinceLastExecution () const
 
QString lastActivity () const
 
double rotationLength () const
 
void setRotationLength (int new_length)
 
QString speciesComposition () const
 
QString thinningIntensity () const
 
QString stp () const
 
void setStp (QString stp_name)
 

Properties

bool trace
 
QJSValue agent
 
double basalArea
 
double age
 
double absoluteAge
 
double volume
 
double height
 
double topHeight
 
int id
 
int nspecies
 
double area
 
QRectF rectangle
 
int elapsed
 
QString lastActivity
 
double U
 
QString speciesComposition
 
QString thinningIntensity
 
QString stp
 

Detailed Description

StandObj is the bridge to stand variables from the Javascript world.

Constructor & Destructor Documentation

◆ StandObj()

ABE::StandObj::StandObj ( QObject *  parent = 0)
inlineexplicit

Member Function Documentation

◆ absoluteAge()

double ABE::StandObj::absoluteAge ( ) const
inline

◆ activity

QJSValue ABE::StandObj::activity ( QString  name)
slot

◆ age()

double ABE::StandObj::age ( ) const
inline

◆ agent

QJSValue ABE::StandObj::agent ( )
slot

◆ area()

double ABE::StandObj::area ( ) const
inline

◆ basalArea()

double ABE::StandObj::basalArea ( ) const
inline

◆ flag

QJSValue ABE::StandObj::flag ( const QString &  name)
inlineslot

◆ height()

double ABE::StandObj::height ( ) const
inline

◆ id()

int ABE::StandObj::id ( ) const
inline

◆ lastActivity()

QString ABE::StandObj::lastActivity ( ) const

◆ nspecies()

int ABE::StandObj::nspecies ( ) const
inline

◆ rectangle()

QRectF ABE::StandObj::rectangle ( ) const

◆ reload

void ABE::StandObj::reload ( )
inlineslot

force a reload of the stand data.

◆ relSpeciesBasalArea

double ABE::StandObj::relSpeciesBasalArea ( int  index) const
inlineslot

◆ relSpeciesBasalAreaOf

double ABE::StandObj::relSpeciesBasalAreaOf ( QString  species_id) const
inlineslot

◆ reset

void ABE::StandObj::reset ( )
slot

start the management program again (initialize the stand)

◆ rotationLength()

double ABE::StandObj::rotationLength ( ) const

◆ setAbsoluteAge

void ABE::StandObj::setAbsoluteAge ( double  arg)
slot

◆ setFlag

void ABE::StandObj::setFlag ( const QString &  name,
QJSValue  value 
)
inlineslot

◆ setRotationLength()

void ABE::StandObj::setRotationLength ( int  new_length)

◆ setStand()

void ABE::StandObj::setStand ( FMStand stand)
inline

◆ setStp()

void ABE::StandObj::setStp ( QString  stp_name)

◆ setTrace()

void ABE::StandObj::setTrace ( bool  do_trace)

◆ sleep

void ABE::StandObj::sleep ( int  years)
inlineslot

◆ speciesBasalArea

double ABE::StandObj::speciesBasalArea ( int  index) const
inlineslot

◆ speciesBasalAreaOf

double ABE::StandObj::speciesBasalAreaOf ( QString  species_id) const
inlineslot

basal area of a given species (m2/ha) given by Id.

◆ speciesComposition()

QString ABE::StandObj::speciesComposition ( ) const

◆ speciesId

QString ABE::StandObj::speciesId ( int  index) const
slot

◆ stp()

QString ABE::StandObj::stp ( ) const

◆ thinningIntensity()

QString ABE::StandObj::thinningIntensity ( ) const

◆ timeSinceLastExecution()

int ABE::StandObj::timeSinceLastExecution ( ) const

◆ topHeight()

double ABE::StandObj::topHeight ( ) const
inline

◆ trace()

bool ABE::StandObj::trace ( ) const

◆ volume()

double ABE::StandObj::volume ( ) const
inline

Property Documentation

◆ absoluteAge

double ABE::StandObj::absoluteAge
readwrite

◆ age

double ABE::StandObj::age
read

◆ agent

QJSValue ABE::StandObj::agent
read

◆ area

double ABE::StandObj::area
read

◆ basalArea

double ABE::StandObj::basalArea
read

◆ elapsed

int ABE::StandObj::elapsed
read

◆ height

double ABE::StandObj::height
read

◆ id

int ABE::StandObj::id
read

◆ lastActivity

QString ABE::StandObj::lastActivity
read

◆ nspecies

int ABE::StandObj::nspecies
read

◆ rectangle

QRectF ABE::StandObj::rectangle
read

◆ speciesComposition

QString ABE::StandObj::speciesComposition
read

◆ stp

QString ABE::StandObj::stp
readwrite

◆ thinningIntensity

QString ABE::StandObj::thinningIntensity
read

◆ topHeight

double ABE::StandObj::topHeight
read

◆ trace

bool ABE::StandObj::trace
readwrite

◆ U

double ABE::StandObj::U
readwrite

◆ volume

double ABE::StandObj::volume
read

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