XmlUpdateContext

API Ref

#include <DbXml.hpp>

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


Description: XmlUpdateContext

The XmlUpdateContext class encapsulates the context within which update operations are performed against an XmlContainer. Use of this class is optional, but passing an object of this class through the XmlContainer interface methods can provide performance benefits, as the context contains objects that can be reused multiple times.

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.

Parameters

container
The XmlContainer that this XmlUpdateContext object is associated with. An XmlUpdateContext object is tied to a particular XmlContainer and may only be used with that XmlContainer.

Class

XmlContainer, XmlDocument, XmlException, XmlIndexSpecification, XmlQueryContext, XmlQueryExpression, XmlResults, XmlUpdateContext, XmlValue

APIRef

Copyright (c) 1996-2003 Sleepycat Software, Inc. - All rights reserved.