Open Lighting Architecture  0.9.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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.
bool Apply (JsonValue **value) const
 Apply this patch set to a value.
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: