TIBCO Adapter SDK C++ Reference
MData::int
MData
Allows an implicit conversion from MData to int. 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.
Example

MInteger mInt(10);           //mInt is of type MInteger
int i = mInt + 15            //implicit conversion to int
Exceptions
MException when there is a data type mismatch.
Declaration
operator int() const throw(MException);
Links
Copyright (c) 2010 TIBCO Software Inc. All rights reserved.