Open Lighting Architecture
0.9.2
|
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 |
void ola::web::JsonPatchSet::AddOp | ( | JsonPatchOp * | op | ) |
Add a patch operation to the set.
op | the 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().