XmlIndexSpecification |
#include <DbXml.hpp>class DbXml::XmlIndexSpecification { public: XmlIndexSpecification(); XmlIndexSpecification(const XmlIndexSpecification &); ~XmlIndexSpecification(); XmlIndexSpecification &operator = (const XmlIndexSpecification &) ... };
The XmlIndexSpecification class encapsulates the indexing specification of a container. An indexing specification can be retrieved with the XmlContainer::getIndexSpecification method, and modified using the XmlContainer::setIndexSpecification method.
The XmlIndexSpecification class provides an interface for manipulating the indexing specification through the XmlIndexSpecification::addIndex, XmlIndexSpecification::deleteIndex, and XmlIndexSpecification::replaceIndex methods. The class interface also provides the XmlIndexSpecification::next and XmlIndexSpecification::reset methods for iterating through the specified indices. Finally, the XmlIndexSpecification::find method can be used to search for the indexing strategy for a known node.
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.
Copyright (c) 1996-2003 Sleepycat Software, Inc. - All rights reserved.