Open Lighting Architecture  Latest Git
Public Member Functions | List of all members
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. More...
 
bool Apply (JsonValue **value) const
 Apply this patch set to a value. More...
 
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: