TIBCO Adapter SDK C++ Reference
|
MData *pmData = pmInst -> get ("intVal");
You then call downCast() or getClassName() to find out what the actual type is. Note that this call is introspective. You could omit it if you’re sure of the actual type.
MInteger::downCast (pmData); Finally, you can call the getAs...() method: int i = pmData -> getAsInteger();
virtual int getAsInt() const throw(MException);