TIBCO Adapter SDK C++ Reference
MData::getAsShort
MData
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.
Remarks
If you have an MData pointer and do not know the type to which it belongs, you can call downcast() first, then retrieve the actual data. If you already know the type, you can call this method directly. Note, however, that an exception is raised if you actually have a NULL data pointer.
Declaration
virtual short getAsShort() const throw(MException);
Links
Copyright (c) 2010 TIBCO Software Inc. All rights reserved.