[Double] [Up] [Coord] Data Types

String
Toolbox string datatype

Synopsis

class String
{
public:
    String();
    String(const char *str);
    String(const String& str);
    ~String();
    String& operator=(const String& str);
};

Description

Class Methods

The following public methods are intended for use by application programs:

Technical Notes

The class String is a proxy for the internal toolbox string type. It takes care of chores like memory release and exception catching. When a toolbox function returns a string, an object of this class is created to be returned to the caller. The object constructor catches any error ocurred in the function implementation and, in case of error, throws a morphException .

See the code of the demonstrations for examples of use of the String class.

[Double] [Up] [Coord]