Infinity.AdoptedOperationInterface¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
apply |
r |
Virtual function that applies the operation to the buffer. by is the user that applies the operation. |
|
apply_transformed |
r |
Virtual function that applies a transformed version of the operation to the buffer. It attempts to use information from the buffer to make the original operation reversible, if it is not already. The implementation of this function is optional, and only needs to be implemented if the operation is not reversible but can be made reversible with additional information from the buffer or the transformed operation. |
|
copy |
r |
Virtual function that returns a copy of the operation. |
|
get_flags |
r |
Virtual function that returns the flags of the operation, see |
|
need_concurrency_id |
r |
Virtual function to determine whether a concurrency ID is required to transform operation against against. |
|
parent |
r |
||
revert |
r |
Virtual function that creates a new operation that undoes the effect of the operation. If get_flags does never return the |
|
transform |
r |
Virtual function that transform operation against against and returns a new |
Methods¶
None
Details¶
- class Infinity.AdoptedOperationInterface¶
The virtual methods that need to be implemented by an operation to be used with
Infinity.AdoptedAlgorithm
.