EDM FAQ: Streamable Objects


StreamableObject classes all share a few common properties. They are not required to inherit from the StreamableObject class, so long as a few specific methods are implemented in the class. In fact, for small object classes, it makes sense to *not* inherit from StreamableObject in order to avoid using virtual methods, providing a small performace enhancement.

A StreamableObject has the following requirements:

There are no other requirements on StreamableObjects. As a matter of good C++ class design, the class should also have a default constructor, a destructor (declared virtual if any class methods are virtual), a copy constructor, and an assignment operator.


Comments on this page may be sent to Rob Kennedy