tuple_is_serializableT_tuple_is_serializableTupleIsSerializableTupleIsSerializable (Operator)
Name
tuple_is_serializableT_tuple_is_serializableTupleIsSerializableTupleIsSerializable
— Test if a tuple is serializable.
Signature
Description
tuple_is_serializabletuple_is_serializableTupleIsSerializableTupleIsSerializableTupleIsSerializable
checks if TupleTupleTupleTupletuple
can be serialized with
serialize_tupleserialize_tupleSerializeTupleSerializeTupleSerializeTuple
.
If yes, 1 is returned in IsSerializableIsSerializableIsSerializableIsSerializableisSerializable
.
Otherwise, 0 is returned.
A tuple can be serialized if it contains only integers, strings, reals, and
serializable handles.
Handles that are already freed cannot be serialized.
To check all elements of a tuple individually, use
tuple_is_serializable_elemtuple_is_serializable_elemTupleIsSerializableElemTupleIsSerializableElemTupleIsSerializableElem
.
Execution Information
- Multithreading type: independent (runs in parallel even with exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
TupleTupleTupleTupletuple
(input_control) tuple(-array) →
HTupleHTupleHtuple (handle / integer / real / string) (HHandle / int / long / double / string) (HHandle / Hlong / double / HString) (handle / Hlong / double / char*)
Tuple to check for serializability.
IsSerializableIsSerializableIsSerializableIsSerializableisSerializable
(output_control) number →
HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Boolean value indicating if the input can be serialized.
Result
If the parameters are valid, the operator
tuple_is_serializabletuple_is_serializableTupleIsSerializableTupleIsSerializableTupleIsSerializable
returns the value 2 (H_MSG_TRUE).
Possible Successors
serialize_tupleserialize_tupleSerializeTupleSerializeTupleSerializeTuple
,
write_tuplewrite_tupleWriteTupleWriteTupleWriteTuple
Alternatives
tuple_is_serializable_elemtuple_is_serializable_elemTupleIsSerializableElemTupleIsSerializableElemTupleIsSerializableElem
See also
tuple_is_serializable_elemtuple_is_serializable_elemTupleIsSerializableElemTupleIsSerializableElemTupleIsSerializableElem
,
serialize_tupleserialize_tupleSerializeTupleSerializeTupleSerializeTuple
,
serialize_handleserialize_handleSerializeHandleSerializeHandleSerializeHandle
,
deserialize_tupledeserialize_tupleDeserializeTupleDeserializeTupleDeserializeTuple
,
deserialize_handledeserialize_handleDeserializeHandleDeserializeHandleDeserializeHandle
,
write_tuplewrite_tupleWriteTupleWriteTupleWriteTuple
Module
Foundation