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

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

Add a patch operation to the set.

Parameters
opthe operation to add, ownership is transferred.
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: