Rogue Wave banner
Previous fileTop of documentContentsIndexNext file

RWCollectableString


-->RWCollectable RWCollectableString -->RWCString

Data Type and Member Function Indexes
(exclusive of constructors and destructors)

Synopsis

typedef RWCollectableString String;  // Smalltalk typedef
#include <rw/collstr.h>
RWCollectableString  c;

Description

Collectable strings. This class is useful when strings are stored and retrieved as RWCollectables, or when they are used as keys in the "dictionary" collection classes. Class RWCollectableString inherits from both class RWCString and class RWCollectable. The virtual functions of the base class RWCollectable have been redefined.

Persistence

Polymorphic

Public Constructors

RWCollectableString();
RWCollectableString(const RWCString& s);
RWCollectableString(const char* c);
RWCollectableString(const RWCSubString&);
RWCollectableString(char c, size_t N);

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 documentContentsIndexNext file
©Copyright 1999, Rogue Wave Software, Inc.
Send mail to report errors or comment on the documentation.