![]() |
![]() |
![]() |
libinfinity-0.4 Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
#include <libinfinity/adopted/inf-adopted-split-operation.h> InfAdoptedSplitOperation; InfAdoptedSplitOperationClass; InfAdoptedSplitOperation * inf_adopted_split_operation_new (InfAdoptedOperation *first, InfAdoptedOperation *second); GSList * inf_adopted_split_operation_unsplit (InfAdoptedSplitOperation *operation); InfAdoptedOperation * inf_adopted_split_operation_transform_other (InfAdoptedSplitOperation *op, InfAdoptedOperation *other, gint concurrency_id);
"first" InfAdoptedOperation* : Read / Write / Construct Only "second" InfAdoptedOperation* : Read / Write / Construct Only
InfAdoptedSplitOperation is a wrapper around that two InfAdoptedOperations. This is normally not required directly but may be a result of some transformation.
typedef struct _InfAdoptedSplitOperation InfAdoptedSplitOperation;
InfAdoptedSplitOperation is an opaque data type. You should only access it via the public API functions.
typedef struct { } InfAdoptedSplitOperationClass;
This structure does not contain any public fields.
InfAdoptedSplitOperation * inf_adopted_split_operation_new (InfAdoptedOperation *first, InfAdoptedOperation *second);
Creates a new InfAdoptedSplitOperation. A split operation is simply a wrapper around two operations (which may in turn be split operations).
|
one of the InfAdoptedOperations to be wrapped |
|
the other InfAdoptedOperation to be wrapped |
Returns : |
A new InfAdoptedSplitOperation. |
GSList * inf_adopted_split_operation_unsplit (InfAdoptedSplitOperation *operation);
Returns a list of the operations contained by the split operation. If the splitted operation are in turn split operations, they will also be unsplitted. The returned list is guarenteed to not contain a InfAdoptedSplitOperation.
|
A InfAdoptedSplitOperation. |
Returns : |
A list of operations. Free with g_slist_free() when done.
|
InfAdoptedOperation * inf_adopted_split_operation_transform_other (InfAdoptedSplitOperation *op, InfAdoptedOperation *other, gint concurrency_id);
Transforms other
against op
.
|
A InfAdoptedSplitOperation. |
|
An arbitrary InfAdoptedOperation. |
|
The concurrency id for the transformation of
other against op .
|
Returns : |
The transformed operation. |
"first"
property"first" InfAdoptedOperation* : Read / Write / Construct Only
The first operation of the split operation.
"second"
property"second" InfAdoptedOperation* : Read / Write / Construct Only
The second operation of the split operation.