TIBCO Adapter SDK C++ Reference
MTree::get
MTree
Extracts a named attribute from this MTree instance, converting it to the target datatype of the output parameter. In effect, this method gets a block of bytes that could be a short.

This only applies to AERV and RV message format. No operation is performed on XMLJMS and XMLRV message format.

You can use this method to recursively extract information from an MTree.

Parameters
Parameters Description
const MString& rsFieldName Extract the value of the first node with this name.
short& refValue When the method returns, refValue contains the data.
Return Value
This method returns true if the values were retrieved, false if the attribute does not exist or is of the wrong type. The method signals an exception if there is an internal error.
Declaration
Mboolean get(const MString& rsFieldName, short& refValue) const throw(MException);
Links
Copyright (c) 2010 TIBCO Software Inc. All rights reserved.