|Home||You are here: Home > Support > Reference v1.0|
Change language: German
Main Page | Modules | Namespace List | Class Hierarchy | Class List | Namespace Members | Class Members
Managing dataFlexible and performant data managing is one of the major goals of the exom framework. To enable the framework to manage data, the data have to be attached to the Object Model (see section The Object Model).
Managing data means performing different task by traversing or iterating through a section of your object hierachy. These tasks can executed completely independent while using the same object hierarchy. They may modify the object hierachy or not. Following standard tasks are implemented in the exom core:
Moreover this other data managing tasks can be implemented.
A manager class have to be derieved exom::XmMan like the mentioned classes above do. According to requirements exom::XmMan::manObjCallback() or exom::XmMan::manAtmCallback() should be overwritten. The base class exom::XmMan and the mentioned derivations are working completely on the stack, so it its possible to nest multpiple instances of this classes without side effects. So it is recommended to ensure stack based implementations when creating an individual manager class.
Here an example using serialisation:
XmStreamOutFile outFile ("myFile"); XmManSeriWriteXml seri; seri.WriteXmlObj (myClass, outFile);
|Copyright © 2006 Praetz Software Development - www.exomware.com|