InfAdoptedSplitOperation

InfAdoptedSplitOperation — Operation wrapping two operations

Stability Level

Unstable, unless otherwise indicated

Functions

Properties

InfAdoptedOperation * first Read / Write / Construct Only
InfAdoptedOperation * second Read / Write / Construct Only

Types and Values

Object Hierarchy

    GObject
    ╰── InfAdoptedSplitOperation

Implemented Interfaces

InfAdoptedSplitOperation implements InfAdoptedOperation.

Includes

#include <libinfinity/adopted/inf-adopted-split-operation.h>

Description

InfAdoptedSplitOperation is a wrapper around that two InfAdoptedOperations. This is normally not required directly but may be a result of some transformation.

Functions

inf_adopted_split_operation_new ()

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).

Parameters

first

one of the InfAdoptedOperations to be wrapped

 

second

the other InfAdoptedOperation to be wrapped

 

Returns

A new InfAdoptedSplitOperation.


inf_adopted_split_operation_unsplit ()

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.

Parameters

operation

A InfAdoptedSplitOperation.

 

Returns

A list of operations. Free with g_slist_free() when done.


inf_adopted_split_operation_transform_other ()

InfAdoptedOperation *
inf_adopted_split_operation_transform_other
                               (InfAdoptedSplitOperation *op,
                                InfAdoptedOperation *other,
                                gint concurrency_id);

Transforms other against op .

Parameters

op

A InfAdoptedSplitOperation.

 

other

An arbitrary InfAdoptedOperation.

 

concurrency_id

The concurrency id for the transformation of other against op .

 

Returns

The transformed operation.

Types and Values

struct InfAdoptedSplitOperation

struct InfAdoptedSplitOperation;

InfAdoptedSplitOperation is an opaque data type. You should only access it via the public API functions.


struct InfAdoptedSplitOperationClass

struct InfAdoptedSplitOperationClass {
};

This structure does not contain any public fields.

Property Details

The “first” property

  “first”                    InfAdoptedOperation *

The first operation of the split operation.

Flags: Read / Write / Construct Only


The “second” property

  “second”                   InfAdoptedOperation *

The second operation of the split operation.

Flags: Read / Write / Construct Only