Open Lighting Architecture  0.9.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
ola::web::JsonPatchOp Class Reference

Detailed Description

A class to serialize a JSONValue to text.

Inheritance diagram for ola::web::JsonPatchOp:
ola::web::JsonPatchAddOp ola::web::JsonPatchCopyOp ola::web::JsonPatchMoveOp ola::web::JsonPatchRemoveOp ola::web::JsonPatchReplaceOp ola::web::JsonPatchTestOp

Public Member Functions

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

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 sucessfully 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: