OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
DECLARE_STREAMABLE macro

Streaming Macros

Syntax

#define DECLARE_STREAMABLE(exp, cls, ver)
Definition objstrm.h:1511

Header File

objstrm.h

Description

The DECLARE_STREAMABLE macro is used within a class definition to add the members that are needed for streaming. Since it contains access specifiers, it should be followed by an access specifier or be used at the end of the class definition.

  • The first parameter should be a macro, which in turn should conditionally expand to either __import and __export, depending on whether the class is to be imported or exported from a DLL.
  • The second parameter is the streamable class name.
  • The third parameter is the object version number.