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

RWClassicWSubString

Module:  Essential Tools Module   Group:  String Processing


Does not inherit

Local Index

Members

Non-Members

Synopsis


NOTE -- Use this class instead of RWWSubString only if Technical Support has advised you to do so.

Description

The class RWClassicWSubString allows some subsection of an RWClassicWString to be addressed by defining a starting position and an extent.

For more information, see RWWSubString.

Persistence

None

Example

Program output:

What I tell you three times is true.

Assignment Operators

void
operator=(const RWClassicWString&);
operator=(const RWClassicWSubString&);
void
operator=(const wchar_t*);

Indexing Operators

wchar_t
operator[](size_t i); 
wchar_t&
operator[](size_t i) const;
wchar_t
operator()(size_t i); 
wchar_t&
operator()(size_t i) const;

Public Member Functions

RWBoolean
isNull() const; 
size_t
length() const; 
RWBoolean
operator!() const; 
size_t
start() const; 
void
toLower();
void
toUpper();

Global Logical Operators

RWBoolean
operator==(const RWClassicWSubString&, 
            const RWClassicWSubString&);
RWBoolean
operator==(const RWClassicWString&,    
            const RWClassicWSubString&);
RWBoolean
operator==(const RWClassicWSubString&, 
            const RWClassicWString&   );
RWBoolean
operator==(const wchar_t*,      const RWClassicWSubString&);
RWBoolean
operator==(const RWClassicWSubString&, const wchar_t*     );
RWBoolean
operator!=(const RWClassicWString&,    
            const RWClassicWString&   ); 
RWBoolean
operator!=(const RWClassicWString&,    
            const RWClassicWSubString&);
RWBoolean
operator!=(const RWClassicWSubString&,  
            const RWClassicWString&   );
RWBoolean
operator!=(const wchar_t*,        
            const RWClassicWString&   );
RWBoolean
operator!=(const RWClassicWString&,    
            const wchar_t*            );


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.