Streaming<ToolKit>
Universal Streaming Service


Streaming<ToolKit> contains a portable implementation of the Universal Streaming Service (USS). This service provides a simple mechanism to make objects persistent or send them across communication mechanisms without changing their inheritance structure. This library is designed for use with most Recursion Software objects, your objects, and a variety of third party vendor classes.

Streaming<ToolKit> contains a set of classes that provides the following functionality.

Streaming<ToolKit> provides the following benefits.

An object must be USS enabled to be streamed in a binary format. Many of the Recursion Software <ToolKits>, such as Standards<ToolKit> and Time<ToolKit>, are preenabled for binary streaming. USS enabled objects do not have to inherit from a common base class, so you can enable your objects for binary I/O without changing their inheritance structure. In many cases, you do not need to modify a class' header or source files.

This chapter describes how to construct and use the Universal Streaming Service, as well as how to USS enable your classes. Because the steps you must perform to USS enable your classes are slightly different for non-template and template classes, there is a separate section for each.

Summary of Classes

bstream

Data Portability Using Protocol Adapters

Data Exchange and Synchronization

Primitive I/O

Character String I/O

Object I/O

Chunk I/O

Stream States

Changing Protocols in the Universal Streaming Service

Adding Streaming Support to Non-Template Classes

Adding Streaming Support to Template Classes

Using the Universal Streaming Service with STL Containers

Common Mistakes

For Additional Information...


Copyright©1994-2026 Recursion Software LLC
All Rights Reserved - For use by licensed users only.