TIBCO Adapter SDK C++ Reference
MPropertiesEnumerator::next
MPropertiesEnumerator
Return an attribute/value pair if the next item is an attribute. If the next item is an element, returns a matching enumerator.

This form is suitable for returning any value, including MGlobalNameData, MString, and MBinary data.

Remarks
The calling application is responsible for returning the MData returned by this form.
Parameters
Parameters Description
Mboolean & bIsNested If the value of this parameter is true upon return, the next item in the associated MProperties instance was not an attribute but a nested structure, either a directory or an association list. In that case, the pEnum parameter becomes an MPropertiesEnumerator for iterating over that element.
MString& sName Name of the next attribute (undefined if the next item is not an attribute but a nested structure).
MData*& data Value of the next attribute (undefined if the next item is not an attribute but a nested structure).
MPropertiesEnumerator** pPropsEnumerator Pointer to an MPropertiesEnumerator that can be used to iterate over that item.
Declaration
virtual Mboolean next(Mboolean & bIsNested, MString& sName, MData*& data, MPropertiesEnumerator** pPropsEnumerator);
Links
Copyright (c) 2010 TIBCO Software Inc. All rights reserved.