Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Essential Tools Module Reference Guide

RWCollectable

Module:  Essential Tools Module   Group:  RWCollectable


Does not inherit

Local Index

Members

Non-Members

Synopsis

typedef RWCollectable Object;  // Smalltalk typedef
#include <rw/collect.h>

Description

Class RWCollectable is an abstract base class for collectable objects. This class contains virtual functions for identifying, hashing, comparing, storing and retrieving collectable objects. While these virtual functions have simple default definitions, objects that inherit this base class will typically redefine one or more of them.

Persistence

Polymorphic

Virtual Functions

virtual
~RWCollectable();
virtual RWspace
binaryStoreSize() const;
virtual int
compareTo(const RWCollectable*) const;
virtual unsigned
hash() const;
virtual RWClassID
isA() const;
virtual RWBoolean
isEqual(const RWCollectable* t) const;
virtual RWCollectable*
newSpecies() const;
virtual void
restoreGuts(RWFile&);
virtual void
restoreGuts(RWvistream&);
virtual void
saveGuts(RWFile&) const;
virtual void
saveGuts(RWvostream&) const;
RWStringID
stringID();
RWspace
recursiveStoreSize() const;

Static Public Member Functions

static RWClassID
classID(const RWStringID& name);
static RWClassID
classIsA();
static RWBoolean
isAtom(RWClassID id);
static RWspace
nilStoreSize();

Related Global Operators

RWvostream&
operator<<(RWvostream&, const RWCollectable& obj);
RWFile&
operator<<(RWFile&, const RWCollectable& obj);
RWvistream&
operator>>(RWvistream&, RWCollectable& obj);
RWFile&
operator>>(RWFile&, RWCollectable& obj);
RWvistream&
operator>>(RWvistream&, RWCollectable*& obj);
RWFile&
operator>>(RWFile&, RWCollectable*& obj);


Previous fileTop of DocumentContentsIndex pageNext file

©2004 Copyright Quovadx, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Quovadx, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.