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

RWCollectableInt

Module:  Essential Tools Module   Group:  RWCollectable


RWCollectable RWCollectableInt RWInteger

Local Index

Members

Synopsis

typedef RWCollectableInt Integer;  // Smalltalk typedef
#include <rw/collint.h>
RWCollectableInt  i;

Description

Collectable integers. Inherits classes RWInteger and RWCollectable. This class is useful when integers are used as keys in the "dictionary" collection classes, or if integers are stored and retrieved as RWCollectables. The virtual functions of the base class RWCollectable have been redefined.

Persistence

Polymorphic

Public Constructors

RWCollectableInt();
RWCollectableInt(int i);

Public Destructor

virtual ~RWCollectableInt();

Public Member Functions

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


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.