Link against: xmlengineDOM.lib
#include <xmlenguserdata.h>
Applications that wish to store user data in the DOM tree must wrap the user data in a class that implemens this interface.
Public Member Functions | |
virtual void | Destroy ()=0 |
Free memory that is allocated and do other case specific cleanup. | |
virtual MXmlEngUserData * | CloneL ()=0 |
Make a copy of the the object. | |
virtual void * | ID () |
Get id of the object. |
|
Make a copy of the the object. Note that if reference counting is used or the same pointer can be safely copied to other places the implementation of this method may just return a pointer to self. Copying user data when copying nodes has not been implemented so this method is for future use (though there's no harm in implementing it, of course).
|
|
Free memory that is allocated and do other case specific cleanup.
|
|
Get id of the object. It is up to user-data provider what the result is. Such a "user data identification" may be in use if several types of MXmlEngUserData objects are used.
|