TIBCO Adapter SDK C++ Reference
MData::double
MData
Allows an implicit conversion from MData to double. Applications do not usually call this method directly; the SDK calls it internally each time a variable that is of one of the MData subclass types is called. As a result, the conversion from MData subclass types to regular C types is seamless.
Remarks
Adapters do not generally have to explicitly call these methods. They are documented here so you can see what implicit conversion you should expect.
Examples
double aDouble = 4.56       
MReal mReal(aDouble);                //mReal is of type MReal
double result - aDouble + mReal;     //implicit conversion to double
Exceptions
MException is thrown when there is a data type mismatch.
Declaration
operator double() const throw(MException);
Links
Copyright (c) 2010 TIBCO Software Inc. All rights reserved.