#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.
If the operation is to be transaction-protected, the
txn
parameter is an
XmlTransaction
handle
returned from XmlManager::createTransaction.
The XmlContainer::getAutoIndexing
method may
fail and throw
XmlException
, encapsulating one of the following
non-zero errors:
An error occurred in an underlying Berkeley DB database. The XmlException::getDbErrno method will return the error code for the error.