tuple_is_serializableT_tuple_is_serializableTupleIsSerializableTupleIsSerializable (Operator)

Name

tuple_is_serializableT_tuple_is_serializableTupleIsSerializableTupleIsSerializable — Test if a tuple is serializable.

Signature

tuple_is_serializable( : : Tuple : IsSerializable)

Herror T_tuple_is_serializable(const Htuple Tuple, Htuple* IsSerializable)

void TupleIsSerializable(const HTuple& Tuple, HTuple* IsSerializable)

HTuple HTuple::TupleIsSerializable() const

Hlong HHandle::TupleIsSerializable() const

static void HOperatorSet.TupleIsSerializable(HTuple tuple, out HTuple isSerializable)

HTuple HTuple.TupleIsSerializable()

int HHandle.TupleIsSerializable()

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

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