Object-Oriented Programming Using SOM and DSOM:A Complement to C++:Summary

From EDM2
Jump to: navigation, search

Perhaps the problems described in this chapter are not important to you. Perhaps you already have work arounds for them. The intent here is to provide you with additional options if you are trying to solve similar problems.

SOM is not intended to replace existing object-oriented languages such as C++. SOM is not a language. However, it provides additional run-time capability that can be used to supplement C++. It also provides a new technology for packaging class libraries. Your application is likely to have both SOM and C++ objects. This is encouraged as there are capabilities in C++ that are not surfaced in the C++ bindings for SOM. Some of the C++ capabilities that are not available include: passing parameters in the constructor, overloading, and class templates.

Note that the lack of C++ capabilities will be considerably alleviated when the DirectToSOM compiler becomes available. With the DirectToSOM technology, you will be able to compile your C++ objects directly into SOM objects and generate IDL from the corresponding C++ interface. Chapter 10 provides more information on this topic.