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::JsonPatchOp Class Referenceabstract

Detailed Description

A class to serialize a JSONValue to text.

Inheritance diagram for ola::web::JsonPatchOp:
Inheritance graph
[legend]

Public Member Functions

virtual bool Apply (JsonValue **value) const =0
 Apply the patch operation to the value. More...
 

Member Function Documentation

virtual bool ola::web::JsonPatchOp::Apply ( JsonValue **  value) const
pure virtual

Apply the patch operation to the value.

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

Implemented in ola::web::JsonPatchTestOp, ola::web::JsonPatchCopyOp, ola::web::JsonPatchMoveOp, ola::web::JsonPatchReplaceOp, ola::web::JsonPatchRemoveOp, and ola::web::JsonPatchAddOp.


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