class XGString

Declared in <XString.h>

This manages a variable-length C string.


Construction/Destruction

XGString::XGString
XGString::XGString
XGString::XGString
XGString::~XGString

Copy operator

XGString::operator =
XGString::operator =

Content access

XGString::Get


Construction/Destruction

XGString::XGString

Usage: XGString::XGString(const char*x)

This creates a C string by copying the contents of the provided C string

XGString::XGString

Usage: XGString::XGString(XGString&x)

This creates a C string by copying the contents of another XGString

XGString::XGString

Usage: void XGStatusBar::SetValue(long value)

This creates an empty C string

XGString::~XGString

Usage: XGString::~XGString()

Releases allocated C string

Copy operator

XGString::operator =

Usage: XGString&operator=(XGString const&x)

This copies the XGString object from one to another

XGString::operator =

Usage: XGString&XGString::operator=(const char*x)

Assignment operator. This is the meat of my string class

Content access

XGString::Get

Usage: const char*Get(void)const

Gets the contents of this string as a C string