GetInternalDataType
Get the internal or underlying base data type of a vectorbase derived object.
int GetInternalDataType( )
Returns the representing internal type, which is defined by constants such as FSI_DOUBLE. More types see FSITYPE enum in oc_const.h file.
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()); }
Get the internal or underlying base data type of the vectorbase derived object.
origin.h