DeeSequenceModel

## DeeSequenceModel DeeSequenceModel — A DeeModel implementation backed by a GSequence |

## Synopsis

    #include <dee.h>

    #define             DEE_SEQUENCE_MODEL_DBUS_IFACE
    struct              DeeSequenceModel;
    struct              DeeSequenceModelClass;
    DeeModel *          dee_sequence_model_new              ();

## Object Hierarchy

      GObject
       +----DeeSerializableModel
             +----DeeSequenceModel

## Implemented Interfaces

DeeSequenceModel implements DeeModel and DeeSerializable.

## Description

DeeSequenceModel is an implementation of the DeeModel interface backed by a GSequence. It extends DeeSerializableModel so that you may use it as back end model for a DeeSharedModel.

The implementation is backed by a GSequence giving a good tradeoff between random access time versus random- insertion and deletion times. Notably the `dee_model_insert_sorted()` and `dee_model_find_sorted()` methods use the underlying tree structure to guarantee a O(log(N)) profile.

## Details

### DEE_SEQUENCE_MODEL_DBUS_IFACE

    #define DEE_SEQUENCE_MODEL_DBUS_IFACE "com.canonical.Dee.Model"

String constant defining the name of the DBus Model interface.

### struct DeeSequenceModel

    struct DeeSequenceModel;

All fields in the DeeSequenceModel structure are private and should never be accessed directly

### struct DeeSequenceModelClass

    struct DeeSequenceModelClass {
    };

### dee_sequence_model_new ()

    DeeModel *          dee_sequence_model_new              ();

Create a new DeeSequenceModel. Before using it you must normally set a schema on it by calling `dee_model_set_schema()`.

Returns : | A newly created DeeSequenceModel. Free with `g_object_unref()`. [transfer full][type DeeSequenceModel]