MarkLogic Connect
MarkLogic Connect Client API Collection
|
Represents a Node within a CppRestJsonDocumentContent's root web::json::value instance. More...
#include <CppRestJsonDocumentContent.hpp>
Public Member Functions | |
MLCLIENT_API | CppRestJsonDocumentNode (web::json::value &root) |
MLCLIENT_API | CppRestJsonDocumentNode (CppRestJsonDocumentNode &&from) |
MLCLIENT_API bool | isNull () const override |
Does this document element have a blank value? More... | |
MLCLIENT_API bool | isBoolean () const override |
Whether this element or property is a boolean type. More... | |
MLCLIENT_API bool | isInteger () const override |
Whether this element or property is a integer type. More... | |
MLCLIENT_API bool | isDouble () const override |
Whether this element or property is a double type. More... | |
MLCLIENT_API bool | isString () const override |
Whether this element or property is a string type. More... | |
MLCLIENT_API bool | isArray () const override |
Whether this element or property is an array type. More... | |
MLCLIENT_API bool | isObject () const override |
Whether this element or property is an object type (i.e. a JSON object or an XML element with element content) More... | |
MLCLIENT_API bool | asBoolean () const override |
Returns the boolean value of this element or property. More... | |
MLCLIENT_API int32_t | asInteger () const override |
Returns the integer value of this element or property. More... | |
MLCLIENT_API double | asDouble () const override |
Returns the double value of this element or property. More... | |
MLCLIENT_API std::string | asString () const override |
Returns the string value of this element or property. More... | |
MLCLIENT_API IDocumentNode * | asArray () const override |
Returns the array value of this element or property (i.e. the child objects) More... | |
MLCLIENT_API IDocumentNode * | asObject () const override |
Returns the Object value of this element or property (i.e. the child object) More... | |
MLCLIENT_API IDocumentNode * | at (const std::string &key) const override |
MLCLIENT_API IDocumentNode * | at (const int32_t idx) const override |
Represents a Node within a CppRestJsonDocumentContent's root web::json::value instance.
See IDocumentNode for details
|
overridevirtual |
Returns the array value of this element or property (i.e. the child objects)
InvalidFormatException | if not of the right type |
Implements mlclient::IDocumentNode.
|
overridevirtual |
Returns the boolean value of this element or property.
InvalidFormatException | if not of the right type |
Implements mlclient::IDocumentNode.
|
overridevirtual |
Returns the double value of this element or property.
InvalidFormatException | if not of the right type |
Implements mlclient::IDocumentNode.
|
overridevirtual |
Returns the integer value of this element or property.
InvalidFormatException | if not of the right type |
Implements mlclient::IDocumentNode.
|
overridevirtual |
Returns the Object value of this element or property (i.e. the child object)
InvalidFormatException | if not of the right type |
Implements mlclient::IDocumentNode.
|
overridevirtual |
Returns the string value of this element or property.
InvalidFormatException | if not of the right type |
Implements mlclient::IDocumentNode.
|
overridevirtual |
Whether this element or property is an array type.
Implements mlclient::IDocumentNode.
|
overridevirtual |
Whether this element or property is a boolean type.
Implements mlclient::IDocumentNode.
|
overridevirtual |
Whether this element or property is a double type.
Implements mlclient::IDocumentNode.
|
overridevirtual |
Whether this element or property is a integer type.
Implements mlclient::IDocumentNode.
|
overridevirtual |
Does this document element have a blank value?
Implements mlclient::IDocumentNode.
|
overridevirtual |
Whether this element or property is an object type (i.e. a JSON object or an XML element with element content)
Implements mlclient::IDocumentNode.
|
overridevirtual |
Whether this element or property is a string type.
Implements mlclient::IDocumentNode.