IString Class Reference

Inheritance diagram for IString:

IBase StringImp


Public Methods

virtual const char * str ()=0

Detailed Description

This is a simple string interface. Its purpose is to control the lifetime of the character buffer that a component wants to pass out of an interface function. See the various implementation of IString to see what options a component developer has for passing strings out of interface functions.


Member Function Documentation

const char * IString::str   [pure virtual]
 

This function returns a pointer to the character buffer of the string. It is guaranteed to be valid while the IString exists. When the final release of the IString is called, this pointer may no longer be valid.

Implemented in StringImp, StaticString, and StlIString.


The documentation for this class was generated from the following files:

Return to top of page