|
Gadget
|
This is the class used to calculate the value of the stock-dependent variables used in the model simulation. More...
#include <stockvariable.h>

Public Member Functions | |
| StockVariable () | |
| This is the default StockVariable constructor. More... | |
| ~StockVariable () | |
| This is the default StockVariable destructor. More... | |
| void | read (CommentStream &infile) |
| This function will read StockVariable data from file. More... | |
| double | getValue () const |
| This function will return the value of the StockVariable. More... | |
| void | Interchange (StockVariable &newSV) const |
| This function will swap the StockVariable value for a new value. More... | |
| void | Update () |
| This function will update the StockVariable value. More... | |
| void | Delete () const |
| This function will delete a StockVariable value. More... | |
This is the class used to calculate the value of the stock-dependent variables used in the model simulation.
|
inline |
This is the default StockVariable constructor.
| StockVariable::~StockVariable | ( | ) |
This is the default StockVariable destructor.
| void StockVariable::Delete | ( | ) | const |
This function will delete a StockVariable value.
|
inline |
This function will return the value of the StockVariable.
| void StockVariable::Interchange | ( | StockVariable & | newSV | ) | const |
This function will swap the StockVariable value for a new value.
| newSV | is the new StockVariable value |
| void StockVariable::read | ( | CommentStream & | infile | ) |
This function will read StockVariable data from file.
| infile | is the CommentStream to read the data from |
| void StockVariable::Update | ( | ) |
This function will update the StockVariable value.