【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.3.19.16 vectorbase::GetInternalDataType
Contents
Description
Get the internal or underlying base data type of a vectorbase derived object.
Syntax
int GetInternalDataType( )
Parameters
Return
Returns the representing internal type, which is defined by constants such as FSI_DOUBLE. More types see FSITYPE enum in oc_const.h file.
Examples
EX1
void vectorbase_GetInternalDataType_ex1() { // Declare vectors of different types vector vecDouble; vector<char> vecChar; vector<int> vecInt; // Get data type of each vector and report printf("Internal data type for vecDouble is: %d\n", vecDouble.GetInternalDataType()); printf("Internal data type for vecChar is: %d\n", vecChar.GetInternalDataType()); printf("Internal data type for vecInt is: %d\n", vecInt.GetInternalDataType()); }
Remark
Get the internal or underlying base data type of the vectorbase derived object.
See Also
Header to Include
origin.h