Return the class-type of a specified type
Int_Type __class_type (DataType_Type type))
Internally S-Lang objects are classified according to four types:
scalar, vector, pointer, and memory managed types. For example, an
integer is implemented as a scalar, a complex number as a vector,
and a string is represented as a pointer. The __class_type
function returns an integer representing the class-type associated
with the specified data type. Specifically, it returns:
0 memory-managed
1 scalar
2 vector
3 pointer
- slangrtl
-
__class_id,
__eqs,
__get_reference,
__is_initialized,
__pop_args,
__push_args,
_nargs,
_typeof,
array_info,
dup,
is_defined,
is_struct_type,
length,
typecast,
typeof
|