MarkLogic Connect
MarkLogic Connect Client API Collection
|
Provides a navigator interface over a PugiXmlDocumentContent's root pugi::xml_document instance. More...
#include <PugiXmlDocumentContent.hpp>
Public Member Functions | |
PugiXmlDocumentNavigator (const pugi::xml_document &root, bool firstElementAsRoot=false) | |
Creates a Pugi XML based Document Navigator for the Document Traversal API. More... | |
MLCLIENT_API | PugiXmlDocumentNavigator (PugiXmlDocumentNavigator &&from) |
Move constructor for moving ownership of this instance. More... | |
virtual | ~PugiXmlDocumentNavigator () |
Pugi XML destructor. | |
MLCLIENT_API IDocumentNode * | at (const std::string &key) const override |
Returns the IDocumentNode at the specified key location. More... | |
Provides a navigator interface over a PugiXmlDocumentContent's root pugi::xml_document instance.
mlclient::utilities::PugiXmlDocumentNavigator::PugiXmlDocumentNavigator | ( | const pugi::xml_document & | root, |
bool | firstElementAsRoot = false |
||
) |
MLCLIENT_API mlclient::utilities::PugiXmlDocumentNavigator::PugiXmlDocumentNavigator | ( | PugiXmlDocumentNavigator && | from | ) |
Move constructor for moving ownership of this instance.
from | The object instance to move the ownership of resources from |
|
overridevirtual |
Returns the IDocumentNode at the specified key location.
See IDocumentNavigator for details.
key | The name of the node to return |
Implements mlclient::IDocumentNavigator.