Defining the streamContents() Function
Next, the streamContents() function is defined for this class by putting macros in the source file for the class.
// real_property.cpp
RW_BEGIN_STREAM_CONTENTS(real_property) // 1
{
RW_STREAM_ATTR_MEMBER(address, address_) // 2
RW_STREAM_ATTR_MEMBER(size, size_)
}
RW_END_STREAM_CONTENTS // 3