You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
/*
* Turbo Vision - Version 2.0 * * Copyright (c) 1994 by Borland International * All Rights Reserved. *
Modified by Robert H�hne to be used for RHIDE.
* * */
/* ------------------------------------------------------------------------*//* *//* class TStreamable *//* *//* This is the base class for all storable objects. It provides *//* three member functions, streamableName(), read(), and write(), which *//* must be overridden in every derived class. *//* *//* ------------------------------------------------------------------------*/
#if defined( Uses_TStreamable ) && !defined( __TStreamable )
#define __TStreamable
class TStreamable{
friend class opstream; friend class ipstream;
private:
virtual const char *streamableName() const = 0;
protected:
virtual void *read( ipstream& ) = 0; virtual void write( opstream& ) = 0;
};
#endif // Uses_TStreamable
|