Chapter 27.  XmlUpdateContext

#include <DbXml.hpp>

class DbXml::XmlUpdateContext {
public:
	XmlUpdateContext();
	XmlUpdateContext(const XmlUpdateContext &);
	~XmlUpdateContext();
	XmlUpdateContext &operator = (const XmlUpdateContext &)
	...
};

The XmlUpdateContext class encapsulates the context within which update operations are performed against an XmlContainer .

A copy constructor and assignment operator are provided for this class. The class is implemented using a handle-body idiom. When a handle is copied both handles maintain a reference to the same body.

XmlUpdateContext objects are instantiated using XmlManager::createUpdateContext. This object is not thread-safe, and can only be safely used by one thread at a time in an application.