class CalcLibData
{
private:
	double v;			//Value
	COleDateTime d;		//Date associated with Value
	int status;			//status of value -- default to Undefined

public:
	CalcLibData(); 
	CalcLibData(double val, COleDateTime date);
	CalcLibData(double val);
	//CalcLibData(CalcLibData &source);

	inline double getValue() { return v; }
	void setValue(double newV) { v = newV; status = getInitialized(); }
	inline COleDateTime getDate() { return d; }
	void setDate(COleDateTime newDate) { d = newDate; }
	inline int getStatus() { return status; }
	void setStatus(int newStatus) { status = newStatus; }

	inline int getUndefined() { return -1; }
	inline int getInitialized() { return 1; }
	inline double getInvalid() { return -999999.9999; }

};