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

RWClassicCSubString

Module:  Essential Tools Module   Group:  String Processing


Does not inherit

Local Index

Members

Non-Members

Synopsis

#include <rw/tools/nostl/cstring.h>
RWCString a;

Description


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

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

For more information, see RWCSubString.

Persistence

None

Example

Program output:

Assignment Operators

RWClassicCSubString&
operator=(const RWClassicCString&);
RWClassicCSubString&
operator=(const RWClassicCSubString&);
RWClassicCSubString&
operator=(const char*);

Indexing Operators

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

Public Member Functions

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

Global Logical Operators

RWBoolean
operator==(const RWClassicCSubString&, const 

RWClassicCSubString&);
RWBoolean
operator==(const RWClassicCString&,    
           const RWClassicCSubString&);
RWBoolean
operator==(const RWClassicCSubString&, 
           const RWClassicCString&   );
RWBoolean
operator==(const char*,         
           const RWClassicCSubString&);
RWBoolean
operator==(const RWClassicCSubString&, const char*        );
RWBoolean
operator!=(const RWClassicCString&,    
           const RWClassicCString&   );
RWBoolean
operator!=(const RWClassicCString&,    
           const RWClassicCSubString&);
RWBoolean
operator!=(const RWClassicCSubString&, 
           const RWClassicCString&   );
RWBoolean
operator!=(const char*,         
           const RWClassicCString&   );
RWBoolean
operator!=(const RWClassicCString&,    const char*        );

Global Logical Operators

RWBoolean
operator==(const RWClassicCSubString&, const 

RWClassicCSubString&);
RWBoolean
operator==(const RWClassicCString&,    
           const RWClassicCSubString&);
RWBoolean
operator==(const RWClassicCSubString&, 
           const RWClassicCString&   );
RWBoolean
operator==(const char*,         
           const RWClassicCSubString&);
RWBoolean
operator==(const RWClassicCSubString&, const char*        );
RWBoolean
operator!=(const RWClassicCString&,    
           const RWClassicCString&   );
RWBoolean
operator!=(const RWClassicCString&,    
           const RWClassicCSubString&);
RWBoolean
operator!=(const RWClassicCSubString&, 
           const RWClassicCString&   );
RWBoolean
operator!=(const char*,         
           const RWClassicCString&   );
RWBoolean
operator!=(const RWClassicCString&,    const char*        );


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.