ClassesClasses | | Operators

serialize_matrixT_serialize_matrixSerializeMatrixSerializeMatrix (Operator)

Name

serialize_matrixT_serialize_matrixSerializeMatrixSerializeMatrix — Serialize a matrix.

Signature

serialize_matrix( : : MatrixID : SerializedItemHandle)

Herror T_serialize_matrix(const Htuple MatrixID, Htuple* SerializedItemHandle)

void SerializeMatrix(const HTuple& MatrixID, HTuple* SerializedItemHandle)

HSerializedItem HMatrix::SerializeMatrix() const

static void HOperatorSet.SerializeMatrix(HTuple matrixID, out HTuple serializedItemHandle)

HSerializedItem HMatrix.SerializeMatrix()

Description

serialize_matrixserialize_matrixSerializeMatrixSerializeMatrixSerializeMatrix serializes the data of a matrix (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_matrixwrite_matrixWriteMatrixWriteMatrixWriteMatrix is converted to a serialized item. The matrix is defined by the handle MatrixIDMatrixIDMatrixIDMatrixIDmatrixID. The serialized matrix is returned by the handle SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandle and can be deserialized by deserialize_matrixdeserialize_matrixDeserializeMatrixDeserializeMatrixDeserializeMatrix.

Execution Information

Parameters

MatrixIDMatrixIDMatrixIDMatrixIDmatrixID (input_control)  matrix HMatrix, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Matrix handle.

SerializedItemHandleSerializedItemHandleSerializedItemHandleSerializedItemHandleserializedItemHandle (output_control)  serialized_item HSerializedItem, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the serialized item.

Result

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

Possible Predecessors

create_matrixcreate_matrixCreateMatrixCreateMatrixCreateMatrix

Possible Successors

fwrite_serialized_itemfwrite_serialized_itemFwriteSerializedItemFwriteSerializedItemFwriteSerializedItem, send_serialized_itemsend_serialized_itemSendSerializedItemSendSerializedItemSendSerializedItem, deserialize_matrixdeserialize_matrixDeserializeMatrixDeserializeMatrixDeserializeMatrix

Module

Foundation


ClassesClasses | | Operators