Top | ![]() |
![]() |
![]() |
![]() |
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.
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()
.
A newly created
DeeSequenceModel. Free with g_object_unref()
.
[transfer full][type DeeSequenceModel]