Data Access User Manual > Rogue Wave Views Data Access Gadgets > Utility Classes > The IliString Class
 
The IliString Class
The IliString class defines objects that manage a character string.
IliString str;
// Assign a new value to the string.
str = "Hello ";
 
// Append to it.
str << "World !";
 
// Convert it to a pointer to characters.
const char* ptr = str;
 
// Query its length.
IlUInt len = str.length();
This class manages transparently the memory required to store its character string value. It is, therefore, used when buffering is required.
The following member function makes use of the IliString class:
void IliValue::format(IliString& dest,
const IliFormat& fmt) const;

Version 6.1
Copyright © 2016, Rogue Wave Software, Inc. All Rights Reserved.