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

RWCollectableWString

Module:  Essential Tools Module   Group:  RWCollectable


RWCollectable RWCollectableWString RWClassicWString

Local Index

Members

Synopsis

#include <rw/collstr.h>
RWCollectableWString  c;

Description

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


NOTE -- Encodings used by operating systems for wchar_t strings may vary. If your application is dependent on the presence of encodings across different operating systems, you will need to ensure that it supports the desired formats.

Persistence

Polymorphic

Public Constructors

RWCollectableWString();
RWCollectableWString(const RWWString& s);
RWCollectableWString(const wchar_t* c);
RWCollectableWString(const RWWSubString&);
RWCollectableWString(wchar_t c, size_t N);

Public Destructor

virtual ~RWCollectableWString();

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.