Class Sequence
public class Sequence
- Inheritance
-
Sequence
- Inherited Members
Methods
Append(SequenceHandle, IntPtr)
Calls native method g_sequence_append. Version: 2.14
[Version("2.14")]
public static extern SequenceIterUnownedHandle Append(SequenceHandle seq, IntPtr data)
Parameters
seq
SequenceHandleTransfer ownership: None Nullable: False
data
IntPtrTransfer ownership: None Nullable: True
Returns
- SequenceIterUnownedHandle
Transfer ownership: None Nullable: False
Foreach(SequenceHandle, Func, IntPtr)
Calls native method g_sequence_foreach. Version: 2.14
[Version("2.14")]
public static extern void Foreach(SequenceHandle seq, Func func, IntPtr userData)
Parameters
seq
SequenceHandleTransfer ownership: None Nullable: False
func
FuncTransfer ownership: None Nullable: False
userData
IntPtrTransfer ownership: None Nullable: True
ForeachRange(SequenceIterHandle, SequenceIterHandle, Func, IntPtr)
Calls native function g_sequence_foreach_range. Version: 2.14
[Version("2.14")]
public static extern void ForeachRange(SequenceIterHandle begin, SequenceIterHandle end, Func func, IntPtr userData)
Parameters
begin
SequenceIterHandleTransfer ownership: None Nullable: False
end
SequenceIterHandleTransfer ownership: None Nullable: False
func
FuncTransfer ownership: None Nullable: False
userData
IntPtrTransfer ownership: None Nullable: True
Free(SequenceHandle)
Calls native method g_sequence_free. Version: 2.14
[Version("2.14")]
public static extern void Free(SequenceHandle seq)
Parameters
seq
SequenceHandleTransfer ownership: None Nullable: False
Get(SequenceIterHandle)
Calls native function g_sequence_get. Version: 2.14
[Version("2.14")]
public static extern IntPtr Get(SequenceIterHandle iter)
Parameters
iter
SequenceIterHandleTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: True
GetBeginIter(SequenceHandle)
Calls native method g_sequence_get_begin_iter. Version: 2.14
[Version("2.14")]
public static extern SequenceIterUnownedHandle GetBeginIter(SequenceHandle seq)
Parameters
seq
SequenceHandleTransfer ownership: None Nullable: False
Returns
- SequenceIterUnownedHandle
Transfer ownership: None Nullable: False
GetEndIter(SequenceHandle)
Calls native method g_sequence_get_end_iter. Version: 2.14
[Version("2.14")]
public static extern SequenceIterUnownedHandle GetEndIter(SequenceHandle seq)
Parameters
seq
SequenceHandleTransfer ownership: None Nullable: False
Returns
- SequenceIterUnownedHandle
Transfer ownership: None Nullable: False
GetIterAtPos(SequenceHandle, int)
Calls native method g_sequence_get_iter_at_pos. Version: 2.14
[Version("2.14")]
public static extern SequenceIterUnownedHandle GetIterAtPos(SequenceHandle seq, int pos)
Parameters
seq
SequenceHandleTransfer ownership: None Nullable: False
pos
intTransfer ownership: None Nullable: False
Returns
- SequenceIterUnownedHandle
Transfer ownership: None Nullable: False
GetLength(SequenceHandle)
Calls native method g_sequence_get_length. Version: 2.14
[Version("2.14")]
public static extern int GetLength(SequenceHandle seq)
Parameters
seq
SequenceHandleTransfer ownership: None Nullable: False
Returns
- int
Transfer ownership: None Nullable: False
InsertBefore(SequenceIterHandle, IntPtr)
Calls native function g_sequence_insert_before. Version: 2.14
[Version("2.14")]
public static extern SequenceIterUnownedHandle InsertBefore(SequenceIterHandle iter, IntPtr data)
Parameters
iter
SequenceIterHandleTransfer ownership: None Nullable: False
data
IntPtrTransfer ownership: None Nullable: True
Returns
- SequenceIterUnownedHandle
Transfer ownership: None Nullable: False
InsertSorted(SequenceHandle, IntPtr, CompareDataFunc, IntPtr)
Calls native method g_sequence_insert_sorted. Version: 2.14
[Version("2.14")]
public static extern SequenceIterUnownedHandle InsertSorted(SequenceHandle seq, IntPtr data, CompareDataFunc cmpFunc, IntPtr cmpData)
Parameters
seq
SequenceHandleTransfer ownership: None Nullable: False
data
IntPtrTransfer ownership: None Nullable: True
cmpFunc
CompareDataFuncTransfer ownership: None Nullable: False
cmpData
IntPtrTransfer ownership: None Nullable: True
Returns
- SequenceIterUnownedHandle
Transfer ownership: None Nullable: False
InsertSortedIter(SequenceHandle, IntPtr, SequenceIterCompareFunc, IntPtr)
Calls native method g_sequence_insert_sorted_iter. Version: 2.14
[Version("2.14")]
public static extern SequenceIterUnownedHandle InsertSortedIter(SequenceHandle seq, IntPtr data, SequenceIterCompareFunc iterCmp, IntPtr cmpData)
Parameters
seq
SequenceHandleTransfer ownership: None Nullable: False
data
IntPtrTransfer ownership: None Nullable: True
iterCmp
SequenceIterCompareFuncTransfer ownership: None Nullable: False
cmpData
IntPtrTransfer ownership: None Nullable: True
Returns
- SequenceIterUnownedHandle
Transfer ownership: None Nullable: False
IsEmpty(SequenceHandle)
Calls native method g_sequence_is_empty. Version: 2.48
[Version("2.48")]
public static extern bool IsEmpty(SequenceHandle seq)
Parameters
seq
SequenceHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
Lookup(SequenceHandle, IntPtr, CompareDataFunc, IntPtr)
Calls native method g_sequence_lookup. Version: 2.28
[Version("2.28")]
public static extern SequenceIterUnownedHandle Lookup(SequenceHandle seq, IntPtr data, CompareDataFunc cmpFunc, IntPtr cmpData)
Parameters
seq
SequenceHandleTransfer ownership: None Nullable: False
data
IntPtrTransfer ownership: None Nullable: True
cmpFunc
CompareDataFuncTransfer ownership: None Nullable: False
cmpData
IntPtrTransfer ownership: None Nullable: True
Returns
- SequenceIterUnownedHandle
Transfer ownership: None Nullable: True
LookupIter(SequenceHandle, IntPtr, SequenceIterCompareFunc, IntPtr)
Calls native method g_sequence_lookup_iter. Version: 2.28
[Version("2.28")]
public static extern SequenceIterUnownedHandle LookupIter(SequenceHandle seq, IntPtr data, SequenceIterCompareFunc iterCmp, IntPtr cmpData)
Parameters
seq
SequenceHandleTransfer ownership: None Nullable: False
data
IntPtrTransfer ownership: None Nullable: True
iterCmp
SequenceIterCompareFuncTransfer ownership: None Nullable: False
cmpData
IntPtrTransfer ownership: None Nullable: True
Returns
- SequenceIterUnownedHandle
Transfer ownership: None Nullable: True
Move(SequenceIterHandle, SequenceIterHandle)
Calls native function g_sequence_move. Version: 2.14
[Version("2.14")]
public static extern void Move(SequenceIterHandle src, SequenceIterHandle dest)
Parameters
src
SequenceIterHandleTransfer ownership: None Nullable: False
dest
SequenceIterHandleTransfer ownership: None Nullable: False
MoveRange(SequenceIterHandle, SequenceIterHandle, SequenceIterHandle)
Calls native function g_sequence_move_range. Version: 2.14
[Version("2.14")]
public static extern void MoveRange(SequenceIterHandle dest, SequenceIterHandle begin, SequenceIterHandle end)
Parameters
dest
SequenceIterHandleTransfer ownership: None Nullable: False
begin
SequenceIterHandleTransfer ownership: None Nullable: False
end
SequenceIterHandleTransfer ownership: None Nullable: False
New(DestroyNotify)
Calls native function g_sequence_new. Version: 2.14
[Version("2.14")]
public static extern SequenceOwnedHandle New(DestroyNotify dataDestroy)
Parameters
dataDestroy
DestroyNotifyTransfer ownership: None Nullable: True
Returns
- SequenceOwnedHandle
Transfer ownership: Full Nullable: False
Prepend(SequenceHandle, IntPtr)
Calls native method g_sequence_prepend. Version: 2.14
[Version("2.14")]
public static extern SequenceIterUnownedHandle Prepend(SequenceHandle seq, IntPtr data)
Parameters
seq
SequenceHandleTransfer ownership: None Nullable: False
data
IntPtrTransfer ownership: None Nullable: True
Returns
- SequenceIterUnownedHandle
Transfer ownership: None Nullable: False
RangeGetMidpoint(SequenceIterHandle, SequenceIterHandle)
Calls native function g_sequence_range_get_midpoint. Version: 2.14
[Version("2.14")]
public static extern SequenceIterUnownedHandle RangeGetMidpoint(SequenceIterHandle begin, SequenceIterHandle end)
Parameters
begin
SequenceIterHandleTransfer ownership: None Nullable: False
end
SequenceIterHandleTransfer ownership: None Nullable: False
Returns
- SequenceIterUnownedHandle
Transfer ownership: None Nullable: False
Remove(SequenceIterHandle)
Calls native function g_sequence_remove. Version: 2.14
[Version("2.14")]
public static extern void Remove(SequenceIterHandle iter)
Parameters
iter
SequenceIterHandleTransfer ownership: None Nullable: False
RemoveRange(SequenceIterHandle, SequenceIterHandle)
Calls native function g_sequence_remove_range. Version: 2.14
[Version("2.14")]
public static extern void RemoveRange(SequenceIterHandle begin, SequenceIterHandle end)
Parameters
begin
SequenceIterHandleTransfer ownership: None Nullable: False
end
SequenceIterHandleTransfer ownership: None Nullable: False
Search(SequenceHandle, IntPtr, CompareDataFunc, IntPtr)
Calls native method g_sequence_search. Version: 2.14
[Version("2.14")]
public static extern SequenceIterUnownedHandle Search(SequenceHandle seq, IntPtr data, CompareDataFunc cmpFunc, IntPtr cmpData)
Parameters
seq
SequenceHandleTransfer ownership: None Nullable: False
data
IntPtrTransfer ownership: None Nullable: True
cmpFunc
CompareDataFuncTransfer ownership: None Nullable: False
cmpData
IntPtrTransfer ownership: None Nullable: True
Returns
- SequenceIterUnownedHandle
Transfer ownership: None Nullable: False
SearchIter(SequenceHandle, IntPtr, SequenceIterCompareFunc, IntPtr)
Calls native method g_sequence_search_iter. Version: 2.14
[Version("2.14")]
public static extern SequenceIterUnownedHandle SearchIter(SequenceHandle seq, IntPtr data, SequenceIterCompareFunc iterCmp, IntPtr cmpData)
Parameters
seq
SequenceHandleTransfer ownership: None Nullable: False
data
IntPtrTransfer ownership: None Nullable: True
iterCmp
SequenceIterCompareFuncTransfer ownership: None Nullable: False
cmpData
IntPtrTransfer ownership: None Nullable: True
Returns
- SequenceIterUnownedHandle
Transfer ownership: None Nullable: False
Set(SequenceIterHandle, IntPtr)
Calls native function g_sequence_set. Version: 2.14
[Version("2.14")]
public static extern void Set(SequenceIterHandle iter, IntPtr data)
Parameters
iter
SequenceIterHandleTransfer ownership: None Nullable: False
data
IntPtrTransfer ownership: None Nullable: True
Sort(SequenceHandle, CompareDataFunc, IntPtr)
Calls native method g_sequence_sort. Version: 2.14
[Version("2.14")]
public static extern void Sort(SequenceHandle seq, CompareDataFunc cmpFunc, IntPtr cmpData)
Parameters
seq
SequenceHandleTransfer ownership: None Nullable: False
cmpFunc
CompareDataFuncTransfer ownership: None Nullable: False
cmpData
IntPtrTransfer ownership: None Nullable: True
SortChanged(SequenceIterHandle, CompareDataFunc, IntPtr)
Calls native function g_sequence_sort_changed. Version: 2.14
[Version("2.14")]
public static extern void SortChanged(SequenceIterHandle iter, CompareDataFunc cmpFunc, IntPtr cmpData)
Parameters
iter
SequenceIterHandleTransfer ownership: None Nullable: False
cmpFunc
CompareDataFuncTransfer ownership: None Nullable: False
cmpData
IntPtrTransfer ownership: None Nullable: True
SortChangedIter(SequenceIterHandle, SequenceIterCompareFunc, IntPtr)
Calls native function g_sequence_sort_changed_iter. Version: 2.14
[Version("2.14")]
public static extern void SortChangedIter(SequenceIterHandle iter, SequenceIterCompareFunc iterCmp, IntPtr cmpData)
Parameters
iter
SequenceIterHandleTransfer ownership: None Nullable: False
iterCmp
SequenceIterCompareFuncTransfer ownership: None Nullable: False
cmpData
IntPtrTransfer ownership: None Nullable: True
SortIter(SequenceHandle, SequenceIterCompareFunc, IntPtr)
Calls native method g_sequence_sort_iter. Version: 2.14
[Version("2.14")]
public static extern void SortIter(SequenceHandle seq, SequenceIterCompareFunc cmpFunc, IntPtr cmpData)
Parameters
seq
SequenceHandleTransfer ownership: None Nullable: False
cmpFunc
SequenceIterCompareFuncTransfer ownership: None Nullable: False
cmpData
IntPtrTransfer ownership: None Nullable: True
Swap(SequenceIterHandle, SequenceIterHandle)
Calls native function g_sequence_swap. Version: 2.14
[Version("2.14")]
public static extern void Swap(SequenceIterHandle a, SequenceIterHandle b)
Parameters
a
SequenceIterHandleTransfer ownership: None Nullable: False
b
SequenceIterHandleTransfer ownership: None Nullable: False