ClassesClasses | | Operators

serialize_tupleserialize_tupleSerializeTupleSerializeTuple (Operator)

Name

serialize_tupleserialize_tupleSerializeTupleSerializeTuple — Serialize a tuple.

Signature

serialize_tuple( : : Tuple : SerializedItemHandle)

Herror serialize_tuple(double Tuple, Hlong* SerializedItemHandle)

Herror T_serialize_tuple(const Htuple Tuple, Htuple* SerializedItemHandle)

void SerializeTuple(const HTuple& Tuple, HTuple* SerializedItemHandle)

HSerializedItem HTuple::SerializeTuple() const

static void HOperatorSet.SerializeTuple(HTuple tuple, out HTuple serializedItemHandle)

HSerializedItem HTuple.SerializeTuple()

Description

serialize_tupleserialize_tupleSerializeTupleSerializeTupleSerializeTuple serializes the data of a tuple (see fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItem for an introduction of the basic principle of serialization). The same data that is written in a file by write_tuplewrite_tupleWriteTupleWriteTupleWriteTuple is converted to a serialized item. The tuple is defined by the handle TupleTupleTupleTupletuple. The serialized data of a tuple is returned by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandle and can be deserialized by deserialize_tupledeserialize_tupleDeserializeTupleDeserializeTupleDeserializeTuple.

Execution Information

Parameters

TupleTupleTupleTupletuple (input_control)  number(-array) HTupleHTupleHtuple (real / integer / string) (double / int / long / string) (double / Hlong / HString) (double / Hlong / char*)

Tuple.

SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandle (output_control)  serialized_item HSerializedItem, HTupleHTupleHtuple (integer) (IntPtr) (Hlong) (Hlong)

Handle of the serialized item.

Result

If the parameters are valid, the operator serialize_tupleserialize_tupleSerializeTupleSerializeTupleSerializeTuple returns the value 2 (H_MSG_TRUE). If necessary, an exception is raised.

Possible Successors

fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItem, send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemSendSerializedItem, deserialize_tupledeserialize_tupleDeserializeTupleDeserializeTupleDeserializeTuple

Module

Foundation


ClassesClasses | | Operators