Open Lighting Architecture 0.10.9
Loading...
Searching...
No Matches
ola::web::JsonPatchSet Class Reference

Detailed Description

An ordered collection of JsonPatchOps.

Public Member Functions

void AddOp (JsonPatchOp *op)
 Add a patch operation to the set.
 
bool Apply (JsonValue **value) const
 Apply this patch set to a value.
 
bool Empty () const
 

Member Function Documentation

◆ AddOp()

void ola::web::JsonPatchSet::AddOp ( JsonPatchOp * op)

Add a patch operation to the set.

Parameters
opthe operation to add, ownership is transferred.

◆ Apply()

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

Apply this patch set to a value.

Don't call this directly, instead use JsonData::Apply().


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