XmlResults::next

#include <DbXml.hpp>

bool XmlResults::next(XmlValue &value);
bool XmlResults::next(XmlDocument &document);

Retrieves the next value in the result set. When no more values remain in the result set, the XmlResults::next method returns false. In an eager results set the iterator logically points "between" adjacent entries which means that alternating calls to next() and previous() will return the same value.

Two forms of this method exist: one that places the next value in an XmlValue object, and another that places the next value in an XmlDocument object.

Parameters

value

The XmlValue into which the next value in the result set is to be placed.

document

The XmlDocument into which the next value in the result set is to be placed.

Class

XmlResults

See Also

XmlResults Methods