Open Lighting Architecture  Latest Git
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | List of all members
ola::web::JsonPatchRemoveOp Class Reference

Detailed Description

Remove the value at the specified path.

Inheritance diagram for ola::web::JsonPatchRemoveOp:
Inheritance graph
Collaboration diagram for ola::web::JsonPatchRemoveOp:
Collaboration graph

Public Member Functions

 JsonPatchRemoveOp (const JsonPointer &path)
 Add the JsonValue to the specified path. More...
bool Apply (JsonValue **value) const
 Apply the patch operation to the value. More...

Constructor & Destructor Documentation

ola::web::JsonPatchRemoveOp::JsonPatchRemoveOp ( const JsonPointer path)

Add the JsonValue to the specified path.

pathThe path to remove.

Member Function Documentation

bool ola::web::JsonPatchRemoveOp::Apply ( JsonValue **  value) const

Apply the patch operation to the value.

valueA pointer to a JsonValue object. This may be modified, replaced or deleted entirely by the patch operation.
True if the patch was successfully applied, false otherwise.

Implements ola::web::JsonPatchOp.

The documentation for this class was generated from the following files: