ClassesClasses | | Operators

serialize_objectserialize_objectSerializeObjectSerializeObject (Operator)

Name

serialize_objectserialize_objectSerializeObjectSerializeObject — Serialize an iconic object.

Signature

serialize_object(Object : : : SerializedItemHandle)

Herror serialize_object(const Hobject Object, Hlong* SerializedItemHandle)

Herror T_serialize_object(const Hobject Object, Htuple* SerializedItemHandle)

void SerializeObject(const HObject& Object, HTuple* SerializedItemHandle)

HSerializedItem HObject::SerializeObject() const

static void HOperatorSet.SerializeObject(HObject objectVal, out HTuple serializedItemHandle)

HSerializedItem HObject.SerializeObject()

Description

serialize_objectserialize_objectSerializeObjectSerializeObjectSerializeObject serializes an iconic object (see fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItem for an introduction of the basic principle of serialization). The iconic object is a tuple of image objects, region objects, or XLD objects, and is defined by the parameter ObjectObjectObjectObjectobjectVal. The serialized iconic object is returned by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandle and can be deserialized by deserialize_objectdeserialize_objectDeserializeObjectDeserializeObjectDeserializeObject.

Execution Information

Parameters

ObjectObjectObjectObjectobjectVal (input_object)  object(-array) objectHObjectHObjectHobject

Iconic object.

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_objectserialize_objectSerializeObjectSerializeObjectSerializeObject 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_objectdeserialize_objectDeserializeObjectDeserializeObjectDeserializeObject

See also

deserialize_objectdeserialize_objectDeserializeObjectDeserializeObjectDeserializeObject

Module

Foundation


ClassesClasses | | Operators