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

Detailed Description

Test a path matches the specified value.

Inheritance diagram for ola::web::JsonPatchTestOp:
Inheritance graph
[legend]
Collaboration diagram for ola::web::JsonPatchTestOp:
Collaboration graph
[legend]

Public Member Functions

 JsonPatchTestOp (const JsonPointer &path, const JsonValue *value)
bool Apply (JsonValue **value) const
 Apply the patch operation to the value.

Member Function Documentation

bool ola::web::JsonPatchTestOp::Apply ( JsonValue **  value) const
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.

Implements ola::web::JsonPatchOp.


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