TIBCO Adapter SDK C++ Reference
MData Members
MData | Legend
Members
Methods
Method Description
char Allows an implicit conversion from MData to char. 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.
double 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.
downCast Safe cast operation for MData subclasses.
downCast Safe cast operation for MData subclasses.
float Allows an implicit conversion from MData to float. 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.
getAsBoolean Return the value stored in this MData as Mboolean, if possible. This method throws an exception if the type of this MData object is not equal to the expected return type of the method.
getAsChar Return the value stored in this MData as char, if possible. This method throws an exception if the type of this MData object is not equal to the expected return type of the method.
getAsDouble Return the value stored in this MData as double, if possible. This method throws an exception if the type of this MData object is not equal to the expected return type of the method.
getAsFloat Return the value stored in this MData as Mboolean, if possible. This method throws an exception if the type of this MData object is not equal to the expected return type of the method.
getAsInt Return the value stored in this MData as int, if possible. This method throws an exception if the type of this MData object is not equal to the expected return type of the method.
getAsLong Return the value stored in this MData as long, if possible. This method throws an exception if the type of this MData object is not equal to the expected return type of the method.
getAsShort Return the value stored in this MData as short, if possible. This method throws an exception if the type of this MData object is not equal to the expected return type of the method.
getAsString Return the value stored in this MData as MString, if possible. This method throws an exception if the type of this MData object is not equal to the expected return type of the method.
getAsUChar Return the value stored in this MData as unsigned char, if possible. This method throws an exception if the type of this MData object is not equal to the expected return type of the method.
getAsUInt Return the value stored in this MData as unsigned int, if possible. This method throws an exception if the type of this MData object is not equal to the expected return type of the method.
getAsULong Return the value stored in this MData as unsigned long, if possible. This method throws an exception if the type of this MData object is not equal to the expected return type of the method.
getAsUShort Return the value stored in this MData as unsigned short, if possible. This method throws an exception if the type of this MData object is not equal to the expected return type of the method.
getClassDescription Return the MBaseClassDescription for this MData instance.
getClassName Return the char* "MData" when called for an instance of this class.
getTrackingInfo Retrieve the tracking data from the MData object.
int 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.
isEqual Allows you to check whether this MData is equal to the MData passed in as an argument. This method allows you to compare two MData without downcasting.
long Allows an implicit conversion from MData to long. 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.
Mboolean Allows an implicit conversion from MData to MBoolean. 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.
setTrackingInfo Set the tracking data to this MData.
short Allows an implicit conversion from MData to short. 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.
unsigned int Allows an implicit conversion from MData to unsigned 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.

Adapters do not generally have to explicitly call these methods. They are documented here so you can see what implicit conversion you should expect.

unsigned long Allows an implicit conversion from MData to unsigned long. 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.
unsigned short Allows an implicit conversion from MData to unsigned short. 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.
Copyright (c) 2010 TIBCO Software Inc. All rights reserved.