#include <DbXml.hpp> int XmlManager::existsContainer(const std::string &name);
The XmlManager::existsContainer
method
examines the named file, and if it is a container, returns a non-zero
database format version. If the file does not exist, or is not a
container, zero is returned.
The container may be open or closed; no exceptions will be thrown from this method.
If the operation is to be transaction-protected, the
txn
parameter is an
XmlTransaction
handle
returned from XmlManager::createTransaction.