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)
#define _OBJ_TYPENAME(obj)
#define READBASEOBJECT(cls)
#define WRITEBASEOBJECT(cls)
#define READVIRTUALBASE(cls)
#define WRITEVIRTUALBASE(cls)
#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)
#define DECLARE_STREAMABLE_S(cls, ver)
#define DECLARE_STREAMABLE_FROM_BASE(exp, cls, base)
#define DECLARE_STREAMABLE_FROM_BASE_S(cls, base)
#define DECLARE_ABSTRACT_STREAMABLE(exp, cls, ver)
#define DECLARE_ABSTRACT_STREAMABLE_S(cls, ver)
#define DECLARE_STREAMABLE_OWL(cls, ver)
#define DECLARE_STREAMABLE_FROM_BASE_OWL(cls, base)
#define DECLARE_ABSTRACT_STREAMABLE_OWL(cls, ver)
#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

ipstream & owl::operator>> (ipstream &is, tstring &str)
 This operator of ipstream extracts (reads) from the ipstream is, to the string str.
opstream & owl::operator<< (opstream &os, const tstring &str)
ipstream & owl::operator>> (ipstream &ps, int8 &ch)
 This friend operator of ipstream extracts (reads) from the ipstream ps, to the given argument.
ipstream & owl::operator>> (ipstream &ps, uint8 &ch)
 This friend operator of ipstream extracts (reads) from the ipstream ps, to the given argument.
ipstream & owl::operator>> (ipstream &ps, char &ch)
 This friend operator of ipstream extracts (reads) from the ipstream ps, to the given argument.
ipstream & owl::operator>> (ipstream &ps, signed short &sh)
 This friend operator of ipstream extracts (reads) from the ipstream ps, to the given argument.
ipstream & owl::operator>> (ipstream &ps, unsigned short &sh)
 This friend operator of ipstream extracts (reads) from the ipstream ps, to the given argument.
ipstream & owl::operator>> (ipstream &ps, signed int &i)
 This friend operator of ipstream extracts (reads) from the ipstream ps, to the given argument.
ipstream & owl::operator>> (ipstream &ps, unsigned int &i)
 This friend operator of ipstream extracts (reads) from the ipstream ps, to the given argument.
ipstream & owl::operator>> (ipstream &ps, bool &b)
 This friend operator of ipstream extracts (reads) from the ipstream ps, to the given argument.
ipstream & owl::operator>> (ipstream &ps, signed long &l)
 This friend operator of ipstream extracts (reads) from the ipstream ps, to the given argument.
ipstream & owl::operator>> (ipstream &ps, unsigned long &l)
 This friend operator of ipstream extracts (reads) from the ipstream ps, to the given argument.
ipstream & owl::operator>> (ipstream &ps, int64 &v)
ipstream & owl::operator>> (ipstream &ps, uint64 &v)
ipstream & owl::operator>> (ipstream &ps, float &f)
 This friend operator of ipstream extracts (reads) from the ipstream ps, to the given argument.
ipstream & owl::operator>> (ipstream &ps, double &d)
 This friend operator of ipstream extracts (reads) from the ipstream ps, to the given argument.
ipstream & owl::operator>> (ipstream &ps, long double &l)
 This friend operator of ipstream extracts (reads) from the ipstream ps, to the given argument.
opstream & owl::operator<< (opstream &ps, int8 ch)
 opstream, a specialized derivative of pstream, is the base class for writing (inserting) streamable objects.
opstream & owl::operator<< (opstream &ps, uint8 ch)
 This friend operator of opstream inserts (writes) the given argument to the given ipstream object.
opstream & owl::operator<< (opstream &ps, char ch)
 This friend operator of opstream inserts (writes) the given argument to the given ipstream object.
opstream & owl::operator<< (opstream &ps, signed short sh)
 This friend operator of opstream inserts (writes) the given argument to the given ipstream object.
opstream & owl::operator<< (opstream &ps, unsigned short sh)
 This friend operator of opstream inserts (writes) the given argument to the given ipstream object.
opstream & owl::operator<< (opstream &ps, signed int i)
 This friend operator of opstream inserts (writes) the given argument to the given ipstream object.
opstream & owl::operator<< (opstream &ps, unsigned int i)
 This friend operator of opstream inserts (writes) the given argument to the given ipstream object.
opstream & owl::operator<< (opstream &ps, bool b)
 This friend operator of opstream inserts (writes) the given argument to the given ipstream object.
opstream & owl::operator<< (opstream &ps, signed long l)
 This friend operator of opstream inserts (writes) the given argument to the given ipstream object.
opstream & owl::operator<< (opstream &ps, unsigned long l)
 This friend operator of opstream inserts (writes) the given argument to the given ipstream object.
opstream & owl::operator<< (opstream &ps, int64 v)
opstream & owl::operator<< (opstream &ps, uint64 v)
opstream & owl::operator<< (opstream &ps, float f)
 This friend operator of opstream inserts (writes) the given argument to the given ipstream object.
opstream & owl::operator<< (opstream &ps, double d)
 This friend operator of opstream inserts (writes) the given argument to the given ipstream object.
opstream & owl::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