6 #include "../../utils/dict.h" 
   36     Stock(
const string & stock_name, 
const string & tname, 
const double & tonnage);
 
const string GetTonnageAttributeName() const 
Return the name of the tonnage atribute of the stock. 
Definition: stock.cpp:23
const double GetTonnage() const 
Return the (initial) tonnage in the stock. 
Definition: stock.cpp:31
const string TonnageAttributeName() const 
Return the name of the tonnage atribute of the stock. 
Definition: stock.cpp:19
Abstact a dictionary to store and get attributes. 
Definition: dict.h:13
virtual ~Stock()
Destructor. 
Definition: stock.cpp:16
const double Tonnage() const 
Return the (initial) tonnage in the stock. 
Definition: stock.cpp:27
void SetTonnage(const double &tonnage_value)
Set the tonnage value of the stock. 
Definition: stock.cpp:35
Stock(const string &stock_name, const string &tname, const double &tonnage)
Creates a new stock with given name and tonnage. 
Definition: stock.cpp:3
Defines a pre-existing stock. 
Definition: stock.h:20