Home You are here: Home > Support > Reference v1.0

Change language: German

XmSeriExt Class Reference

List of all members.

Detailed Description

Interface to handle read actions dedicated to objects via XmObject::GetSeriExt().

Normally the default implementation will be used for deserialization. If necessary to do additional things, derive your object class from XmSeriExt and return this interface via XmObject::GetSeriExt().

More information in section Persistence / Streaming.


Public Member Functions

virtual void OnPreReadObj (XmManSeriRead &sr)
 Will be called when start reading an object.
virtual void OnReadAtom (XmManSeriRead &sr)
 Will be called when reading an object member.
virtual void OnPostReadObj (XmManSeriRead &sr)
 Will be called after reading an object.
virtual void OnMissingItem (XmManSeriRead &sr, XMID id)
 Error handler is called, if detected a missing item (with id) in the stream.
virtual void OnUnusedItem (XmManSeriRead &sr, const XmString &itemName)
 Error handler is called, if an unused item found in the stream.


Member Function Documentation

virtual void OnMissingItem XmManSeriRead sr,
XMID  id
[virtual]
 

Error handler is called, if detected a missing item (with id) in the stream.

Parsing will stop if SF_STOP_ON_MISSING_ITEM is set in XmManSeriRead context.

virtual void OnUnusedItem XmManSeriRead sr,
const XmString itemName
[virtual]
 

Error handler is called, if an unused item found in the stream.

Parsing will stop if SF_STOP_ON_UNUSED_ITEM is set in XmManSeriRead context.


Copyright © 2006 Praetz Software Development - www.exomware.com