OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
objstrm.h File Reference
#include <owl/defs.h>
#include <owl/streambl.h>
#include <iostream>
#include <fstream>
#include <typeinfo>
#include <owl/preclass.h>
#include <owl/posclass.h>

Go to the source code of this file.

Classes

class  owl::TStreamableBase
 Classes that inherit from TStreamableBase are known as streamable classes (their objects can be written to and read from streams). More...
 
class  owl::TStreamable
 
class  owl::TStreamer
 Provides a base class for all streamable objects. More...
 
class  owl::TOldStreamer
 Provides a base class for all streamable objects. More...
 
class  owl::TNewStreamer
 
class  owl::TPWrittenObjects
 
class  owl::TPWrittenObjects::TPWObj
 
class  owl::TPReadObjects
 
class  owl::pstream
 Base class for handling streamable objects. More...
 
class  owl::ipstream
 ipstream, a specialized input stream derivative of pstream, is the base class for reading (extracting) streamable objects. More...
 
class  owl::opstream
 Base class for writing streamable objects. More...
 
class  owl::fpbase
 Provides the basic operations common to all object file stream I/O. More...
 
class  owl::ifpstream
 ifpstream is a simple "mix" of its bases, fpbase and ipstream. More...
 
class  owl::ofpstream
 Provides the base class for writing (inserting) streamable objects to file streams. More...
 

Namespaces

namespace  owl
 Object Windows Library (OWLNext Core)
 

Macros

#define _OBJ_FULLTYPENAME(obj)   typeid(*obj).name()
 
#define _OBJ_TYPENAME(obj)   typeid(*obj).name()
 
#define READBASEOBJECT(cls)   ReadBaseObject( cls *, ::owl::ipstream& )
 
#define WRITEBASEOBJECT(cls)   WriteBaseObject( cls *, ::owl::opstream& )
 
#define READVIRTUALBASE(cls)   ReadVirtualBase( cls *, ::owl::ipstream& )
 
#define WRITEVIRTUALBASE(cls)   WriteVirtualBase( cls *, ::owl::opstream& )
 
#define DECLARE_STREAMERS(cls, ver)
 
#define DECLARE_STREAMER(exp, cls, ver)
 
#define DECLARE_STREAMER_FROM_BASES(cls, base)
 
#define DECLARE_STREAMER_FROM_BASE(exp, cls, base)
 
#define DECLARE_ABSTRACT_STREAMERS(cls, ver)
 
#define DECLARE_ABSTRACT_STREAMER(exp, cls, ver)
 
#define DECLARE_STREAMABLE_OPS(cls)
 
#define DECLARE_STREAMABLE_INLINES_I(cls)
 
#define DECLARE_STREAMABLE_CTOR(cls)
 
#define DECLARE_CASTABLE   friend class std::type_info
 
#define DECLARE_STREAMABLE(exp, cls, ver)    DECLARE_CASTABLE
 
#define DECLARE_STREAMABLE_S(cls, ver)    DECLARE_CASTABLE
 
#define DECLARE_STREAMABLE_FROM_BASE(exp, cls, base)    DECLARE_CASTABLE
 
#define DECLARE_STREAMABLE_FROM_BASE_S(cls, base)    DECLARE_CASTABLE
 
#define DECLARE_ABSTRACT_STREAMABLE(exp, cls, ver)    DECLARE_CASTABLE
 
#define DECLARE_ABSTRACT_STREAMABLE_S(cls, ver)    DECLARE_CASTABLE
 
#define DECLARE_STREAMABLE_OWL(cls, ver)    DECLARE_CASTABLE
 
#define DECLARE_STREAMABLE_FROM_BASE_OWL(cls, base)    DECLARE_CASTABLE
 
#define DECLARE_ABSTRACT_STREAMABLE_OWL(cls, ver)    DECLARE_CASTABLE
 
#define DECLARE_STREAMABLE_INLINES(cls)
 
#define IMPLEMENT_CASTABLE(cls)
 
#define IMPLEMENT_CASTABLE1(cls, base1)
 
#define IMPLEMENT_CASTABLE2(cls, base1, base2)
 
#define IMPLEMENT_CASTABLE3(cls, base1, base2, base3)
 
#define IMPLEMENT_CASTABLE4(cls, base1, base2, base3, base4)
 
#define IMPLEMENT_CASTABLE5(cls, base1, base2, base3, base4, base5)
 
#define IMPLEMENT_STREAMABLE_CLASS(cls)
 
#define IMPLEMENT_STREAMABLE_POINTER_IMPL(template_prefix, cls)
 
#define IMPLEMENT_STREAMABLE_POINTER(cls)
 
#define IMPLEMENT_STREAMER(cls)
 
#define IMPLEMENT_STREAMABLE_CTOR(cls)
 
#define IMPLEMENT_STREAMABLE_CTOR1_IMPL(template_prefix, cls, constructor, base1)
 
#define IMPLEMENT_STREAMABLE_CTOR1(cls, base1)
 
#define IMPLEMENT_STREAMABLE_CTOR2(cls, base1, base2)
 
#define IMPLEMENT_STREAMABLE_CTOR3(cls, base1, base2, base3)
 
#define IMPLEMENT_STREAMABLE_CTOR4(cls, base1, base2, base3, base4)
 
#define IMPLEMENT_STREAMABLE_CTOR5(cls, base1, base2, base3, base4, base5)
 
#define IMPLEMENT_ABSTRACT_STREAMABLE(cls)
 
#define IMPLEMENT_ABSTRACT_STREAMABLE1(cls, base1)
 
#define IMPLEMENT_ABSTRACT_STREAMABLE2(cls, base1, base2)
 
#define IMPLEMENT_ABSTRACT_STREAMABLE3(cls, base1, base2, base3)
 
#define IMPLEMENT_ABSTRACT_STREAMABLE4(cls, base1, base2, base3, base4)
 
#define IMPLEMENT_ABSTRACT_STREAMABLE5(cls, base1, base2, base3, base4, base5)
 
#define IMPLEMENT_STREAMABLE(cls)
 
#define IMPLEMENT_STREAMABLE1(cls, base1)
 
#define IMPLEMENT_STREAMABLE2(cls, base1, base2)
 
#define IMPLEMENT_STREAMABLE3(cls, base1, base2, base3)
 
#define IMPLEMENT_STREAMABLE4(cls, base1, base2, base3, base4)
 
#define IMPLEMENT_STREAMABLE5(cls, base1, base2, base3, base4, base5)
 
#define IMPLEMENT_STREAMABLE_FROM_BASE(cls, base1)
 

Typedefs

typedef unsigned owl::P_id_type
 

Enumerations

enum  owl::StreamableInit { owl::streamableInit }
 

Functions

ipstreamowl::operator>> (ipstream &is, tstring &str)
 This operator of ipstream extracts (reads) from the ipstream is, to the string str.
 
opstreamowl::operator<< (opstream &os, const tstring &str)
 
ipstreamowl::operator>> (ipstream &ps, int8 &ch)
 This friend operator of ipstream extracts (reads) from the ipstream ps, to the given argument.
 
ipstreamowl::operator>> (ipstream &ps, uint8 &ch)
 This friend operator of ipstream extracts (reads) from the ipstream ps, to the given argument.
 
ipstreamowl::operator>> (ipstream &ps, char &ch)
 This friend operator of ipstream extracts (reads) from the ipstream ps, to the given argument.
 
ipstreamowl::operator>> (ipstream &ps, signed short &sh)
 This friend operator of ipstream extracts (reads) from the ipstream ps, to the given argument.
 
ipstreamowl::operator>> (ipstream &ps, unsigned short &sh)
 This friend operator of ipstream extracts (reads) from the ipstream ps, to the given argument.
 
ipstreamowl::operator>> (ipstream &ps, signed int &i)
 This friend operator of ipstream extracts (reads) from the ipstream ps, to the given argument.
 
ipstreamowl::operator>> (ipstream &ps, unsigned int &i)
 This friend operator of ipstream extracts (reads) from the ipstream ps, to the given argument.
 
ipstreamowl::operator>> (ipstream &ps, bool &b)
 This friend operator of ipstream extracts (reads) from the ipstream ps, to the given argument.
 
ipstreamowl::operator>> (ipstream &ps, signed long &l)
 This friend operator of ipstream extracts (reads) from the ipstream ps, to the given argument.
 
ipstreamowl::operator>> (ipstream &ps, unsigned long &l)
 This friend operator of ipstream extracts (reads) from the ipstream ps, to the given argument.
 
ipstreamowl::operator>> (ipstream &, int64 &)
 
ipstreamowl::operator>> (ipstream &, uint64 &)
 
ipstreamowl::operator>> (ipstream &ps, float &f)
 This friend operator of ipstream extracts (reads) from the ipstream ps, to the given argument.
 
ipstreamowl::operator>> (ipstream &ps, double &d)
 This friend operator of ipstream extracts (reads) from the ipstream ps, to the given argument.
 
ipstreamowl::operator>> (ipstream &ps, long double &l)
 This friend operator of ipstream extracts (reads) from the ipstream ps, to the given argument.
 
opstreamowl::operator<< (opstream &, int8)
 opstream, a specialized derivative of pstream, is the base class for writing (inserting) streamable objects.
 
opstreamowl::operator<< (opstream &ps, uint8 ch)
 This friend operator of opstream inserts (writes) the given argument to the given ipstream object.
 
opstreamowl::operator<< (opstream &ps, char ch)
 This friend operator of opstream inserts (writes) the given argument to the given ipstream object.
 
opstreamowl::operator<< (opstream &ps, signed short sh)
 This friend operator of opstream inserts (writes) the given argument to the given ipstream object.
 
opstreamowl::operator<< (opstream &ps, unsigned short sh)
 This friend operator of opstream inserts (writes) the given argument to the given ipstream object.
 
opstreamowl::operator<< (opstream &ps, signed int i)
 This friend operator of opstream inserts (writes) the given argument to the given ipstream object.
 
opstreamowl::operator<< (opstream &ps, unsigned int i)
 This friend operator of opstream inserts (writes) the given argument to the given ipstream object.
 
opstreamowl::operator<< (opstream &ps, bool b)
 This friend operator of opstream inserts (writes) the given argument to the given ipstream object.
 
opstreamowl::operator<< (opstream &ps, signed long l)
 This friend operator of opstream inserts (writes) the given argument to the given ipstream object.
 
opstreamowl::operator<< (opstream &ps, unsigned long l)
 This friend operator of opstream inserts (writes) the given argument to the given ipstream object.
 
opstreamowl::operator<< (opstream &, int64)
 
opstreamowl::operator<< (opstream &, uint64)
 
opstreamowl::operator<< (opstream &ps, float f)
 This friend operator of opstream inserts (writes) the given argument to the given ipstream object.
 
opstreamowl::operator<< (opstream &ps, double d)
 This friend operator of opstream inserts (writes) the given argument to the given ipstream object.
 
opstreamowl::operator<< (opstream &ps, long double l)
 This friend operator of opstream inserts (writes) the given argument to the given ipstream object.
 
template<class Base >
void owl::WriteBaseObject (Base *base, opstream &out)
 
template<class Base >
void owl::ReadBaseObject (Base *base, ipstream &in)
 
template<class Base >
void owl::WriteVirtualBase (Base *base, opstream &out)
 
template<class Base >
void owl::ReadVirtualBase (Base *base, ipstream &in)
 

Variables

class _RTTI owl::TStreamable