XmlContainer::getAutoIndexing

#include <DbXml.hpp>

bool XmlContainer::getAutoIndexing() const

bool XmlContainer::getAutoIndexing(XmlTransaction &txn) const

Returns the current value of the auto-indexing state for the container. This state can be modified using XmlContainer::setAutoIndexing. See that page for a description of this feature.

Parameters

txn

If the operation is to be transaction-protected, the txn parameter is an XmlTransaction handle returned from XmlManager::createTransaction.

Errors

The XmlContainer::getAutoIndexing method may fail and throw XmlException , encapsulating one of the following non-zero errors:

DATABASE_ERROR

An error occurred in an underlying Berkeley DB database. The XmlException::getDbErrno method will return the error code for the error.

Class

XmlContainer

See Also

XmlContainer Methods