[ libohymos | Source | Keywords | Summary | Ancestors | All Members | Descendants ]
Back to the top of Data
Data< T> is a class for treating datapack of type T. Data members of class Data< T> are
と記述してあります。
libohymos.a が作成されるときに、p_itmp.cc はコンパイルされ、その
object module が libohymos.a に収録されます。
このため、Data< double>, Data< float>, Data< int>,
Data< long>, Data< OHyMosString>は、OHyMOS に組み込みの型と
して使用できます。
template class Data<double>;
template class Data<float>;
template class Data<int>;
template class Data<long>;
template class Data<OHyMosString>;
Back to the top of Data
T value;
Data member. value stores a data value of Type T.
T value; // data value
Back to the top of Data
void Set_data(time_t t, const T& v) ;
set the data time and the data value
void Set_data(time_t t, const T& v) ;
Function is currently defined inline.
Back to the top of Data
void Get_data(time_t& t, T& v) ;
Get data time and data value
void Get_data(time_t& t, T& v) ;
Function is currently defined inline.
Back to the top of Data
T Value(void) ;
Returns data value
T Value(void) ;
Function is currently defined inline.
Back to the top of Data
Data(void) ;
Constructor
The constructor uses the constructors of the base classes. The data members are initialized by those base classes' constructors as follows:
・data_time : 0 ・value : 0
Data(void) ;
Function is currently defined inline.
Back to the top of Data
~Data(void) ;
Destructor
The destructor is delared as virtual in the base class Data_pack.
~Data(void) ;
Function is currently defined inline.
Back to the top of Data
Data(char*& data_str);
data string "data_str" is transformed into datapack
Data(char*& data_str);
Back to the top of Data
void Dpack2file(FILE* fp);
datapack will be printed into a file in simple data format
void Dpack2file(FILE* fp);
Back to the top of Data
void Dpack2ofile(FILE* fp);
datapack will be printed into a file in simple data format
void Dpack2ofile(FILE* fp);
Back to the top of Data
void Dstr2dpack(char*& data_str);
datapack value will be set to be a value which is read in from
data string.
void Dstr2dpack(char*& data_str);
Back to the top of Data
Back to the top of Data
Back to the top of Data
Back to the top of Data
Report problems to jkotula@stratasys.com