|Home||You are here: Home > exom SDK > Object Model|
Change language: German
The Object ModelThe Extensible Object Model is the basement of the exom framework. This Model is designed to support the extensions mentioned in the chapter before. Typical for an Object Model is the existence of an object class, which is the base class for other classes, to enable them being part of the Object Model. In the exom framework this base class is exom::XmObject. To support a maximum of flexibility the main design goals of this framework were:
Now this class is ready to be used in the exom framework. Normally you will add some members like strings, integers, ... or other classes. To enable these members managed by the exom framework, they have to be connected to their superior class as the following example shows.
One line of code for each member. Nothing else. More infos about this in section Object Model in the Reference Documentation.
Advantages to other Object ModelsThere exist other well known Object Models out there used in object oriented programming. So why using the Object Model of the exom framework. The main difference to many other Object Models is that the storage of data can be implemented in native C++ data hierarchy via classes and members, instead of using a complex DOM tree. Benefits:
|Copyright © 2006 Praetz Software Development - www.exomware.com|