#include <DbXml.hpp> void XmlManager::dumpContainer(const std::string name, std::ostream *out)
Dumps the contents of the specified container to the specified output stream. The container can be reconstructed by a call to XmlManager::loadContainer.
The container must be closed; the system throws an exception if the container is open.
The container must be have been opened at least once; the system throws an exception if the underlying files have not yet been created.
The XmlManager::dumpContainer
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.