TIBCO Adapter SDK C++ Reference
|
Parameters | Description |
const MString& rsAttributeName | Name of the attribute to retrieve. |
Mboolean rsAttributeNameIsAPath = Mfalse | This parameter is not supported. It is for internal use by the SDK. |
MTree mTree;
instOrder1.serialize(mTree);
cout << endl << "serialized tree = \n" << mTree.toString() << endl;
// create a new instance from the serialized Tree
MInstance* pSalesOrder = new MInstance(this, mTree);
cout << endl << "after deserialization: " << pSalesOrder->toString()
<< endl;
OrderId = 0;
OrderId = pSalesOrder->get(sOrderId)->getAsInt();
CustomerId = pSalesOrder->get(sCustomerId)->getAsInt();
virtual const MData* get(const MString& rsAttributeName, Mboolean rsAttributeNameIsAPath = Mfalse) const throw(MException);