[Boolean] [Up] [String] Data Types

Double
Toolbox double datatype

Synopsis

class DLLEXPORT Double
{
public:
    Double();
    Double(int x);
    Double(double x);
    Double(Double& x);
    ~Double();
    Double& operator=(int x);
    Double& operator=(double x);
    Double& operator=(Double& x);
    operator int() const;
    operator double() const;
};

Description

Class Methods

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

Technical Notes

The class Double is a proxy for the internal toolbox double 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 Double class.

[Boolean] [Up] [String]