OWLNext 7.0
Borland's Object Windows Library for the modern age
|
Provides a base class for all streamable objects. More...
#include <owl/objstrm.h>
Public Member Functions | |
TOldStreamer (TStreamable *obj) | |
Constructs the TOldStreamer object, and initializes the streamable object pointer. | |
Public Member Functions inherited from owl::TStreamer | |
virtual | ~TStreamer () |
TStreamableBase * | GetObject () const |
Returns the address of the TStreamableBase component of the streamable object. | |
Protected Member Functions | |
virtual LPCSTR | StreamableName () const |
This pure virtual member function must be redefined for every streamable class. | |
virtual void * | Read (ipstream &is, uint32) const |
This pure virtual member function must be redefined for every streamable class. | |
virtual void | Write (opstream &os) const |
This pure virtual function must be redefined for every streamable class. | |
Protected Member Functions inherited from owl::TStreamer | |
TStreamer (TStreamableBase *obj) | |
Constructs the TStreamer object, and initializes the streamable object pointer. | |
|
inline |
Constructs the TOldStreamer object, and initializes the streamable object pointer.
This pure virtual member function must be redefined for every streamable class.
It must read the necessary data members for the streamable class from the supplied ipstream.
Implements owl::TStreamer.
Definition at line 196 of file objstrm.h.
References STATIC_CAST.
This pure virtual member function must be redefined for every streamable class.
It returns the name of the streamable class, which is used by the stream manager to register the streamable class. The name returned must be a zero-terminated string.
Implements owl::TStreamer.
Definition at line 188 of file objstrm.h.
References STATIC_CAST.
This pure virtual function must be redefined for every streamable class.
It must write the necessary streamable class data members to the supplied opstream object. Write is usually implemented by calling the Write member function (if available) of a base class, and then inserting any additional data members for the derived class.
Implements owl::TStreamer.
Definition at line 206 of file objstrm.h.
References STATIC_CAST.