name: SysString


g++ [flags ...] file ... -l /isip/tools/lib/$ISIP_BINARY/lib_system.a

#include <SysString.h>

SysString(long capacity = DEF_CAPACITY);
SysString(const SysString& arg);
SysString(const unichar* data);
SysString(byte* data, SysChar::ENCODE encoding = SysChar::DEF_ENCODE);
boolean assign(const SysString& arg);
boolean insert(const SysString& str, long index);
boolean replace(const SysString& str, long index);
quick start:

SysString str1((byte*)"This is ISIP");
SysString str2(L"software");
SysString str3(100);
SysString str4(str2);

str2.assign(L" software");
if (str2.length() != 9) {
  Console::put(L"Error in re-assign unichar");

str3.assign(L" public-domain ");
str4.assign(L" Foundation classes");

str2.insert(str3, 99);

if ("This is ISIP public-domain ")) {
  Console::put(L"Error in insert");

str2.insert(str4, 9999);

if ("This is ISIP public-domain  Foundation classes")) {
  Console::put(L"Error in insert");

The SysString class fills the void found in ANSI C for a very common data type: a string of characters. Our SysString class is inherently multi-lingual. It is a set of
SysChar objects. The SysString class abstracts the operating-system-specific wide character functions. It also prevents the programmer from having to manipulate buffers of memory; this is all handled automatically. The user needs only to reference a single SysString object, and passing a SysString object to a method is as simple as passing an Integer.


public constants:

error codes:

protected data:

required public methods:

class-specific public methods:

private methods: