AnimUnserializeOperation 內容會將字串轉換成元素的值(指定具有 AnimSerializeOperation 內容的外部函數 內容的相反)。取消序列化函數會用來產生事件或呼叫作業,方法是使用動畫工具列,在產生事件或呼叫作業之前,將字串(接收自使用者)轉換成事件或作業的值。
例如,您的序列化作業可能看起來會類似下列範例:
char* myX2String(const Rec &f)
{
char* cS = new char[OutputStringLength];
/* conversion from the Rec type to string */
return (cS);
}
取消序列化作業會是:
Rec myString2X (char* C, Rec& T)
{
T = new Trc;
/* conversion of the string C to the Rec type */
delete C;
return (T);
}
此內容的預設值是空字串。