[ libohymos | Source | Keywords | Summary | Ancestors | All Members | Descendants ]
Back to the top of Data_pack
In hydrologic simulations in which the states are updated dynamically, the data which are sent and received by elements, subsytems, and total sytem of the hydrologic system are pairs of data value(s) and a "data time." Here, "data time" means the time to which the data are related.
For example, suppose we have the value of discharge Q at time t at some stream point. Then, we call the value of discharge Q "data value" and time t "data time."
We call a pair of data time and data value "datapack," and we prepare class Data_pack, which is an abstract class used as a base class from which various datapack classes are derived.
Because there are various data types for data value, there could be various datapack classes.
Class Data_pack is a base class from which various datapack classes are derived.
keywords: datapack, data time, data value
Back to the top of Data_pack
time_t data_time;
the unix time when the data was recorded.
time_t data_time;
Back to the top of Data_pack
time_t Data_time(void) ;
Returns the data time
time_t Data_time(void) ;
Function is currently defined inline.
Back to the top of Data_pack
void Set_data_time(time_t d_time) ;
Set the data time
void Set_data_time(time_t d_time) ;
Function is currently defined inline.
Back to the top of Data_pack
void Dpack2file(FILE* fp) ;
Declares the function Dpack2file as pure virtual. Dpack2file prints
the datapack into a file in the data format for internal work.
virtual void Dpack2file(FILE* fp) = NULL;
Back to the top of Data_pack
void Dpack2ofile(FILE* fp) ;
Declares the function Dpack2ofile as pure virtual. Dpack2ofile
prints the datapack into a file in the simple data format.
virtual void Dpack2ofile(FILE* fp) = NULL;
Back to the top of Data_pack
void Dstr2dpack(char*& dstr) ;
Declare the function Dstr2dpack as pure virtual. Dstr2dpack reads
the datapack datum from the data string 'dstr'.
virtual void Dstr2dpack(char*& dstr) = NULL;
Back to the top of Data_pack
Data_pack(void) ;
Constructor
Data_pack(void) ;
Function is currently defined inline.
Back to the top of Data_pack
~Data_pack(void) ;
Destructor. Data_pack is an abstract class, the destructor is
declared as virtual.
virtual ~Data_pack(void) ;
Function is currently defined inline.
Back to the top of Data_pack
Back to the top of Data_pack
Back to the top of Data_pack
Back to the top of Data_pack
Report problems to jkotula@stratasys.com