Class Sequence
- Namespace
- GLib
- Assembly
- GLib-2.0.dll
public sealed class Sequence
- Inheritance
-
Sequence
- Inherited Members
Constructors
Sequence(SequenceOwnedHandle)
public Sequence(SequenceOwnedHandle handle)
Parameters
handle
SequenceOwnedHandle
Properties
Handle
public SequenceOwnedHandle Handle { get; }
Property Value
Methods
Append(IntPtr)
[Version("2.14")]
public SequenceIter Append(IntPtr data)
Parameters
data
IntPtr
Returns
Equals(Sequence?)
public bool Equals(Sequence? other)
Parameters
other
Sequence
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
Foreach(Func)
[Version("2.14")]
public void Foreach(Func func)
Parameters
func
Func
ForeachRange(SequenceIter, SequenceIter, Func)
[Version("2.14")]
public static void ForeachRange(SequenceIter begin, SequenceIter end, Func func)
Parameters
begin
SequenceIterend
SequenceIterfunc
Func
Free()
[Version("2.14")]
public void Free()
Get(SequenceIter)
[Version("2.14")]
public static IntPtr Get(SequenceIter iter)
Parameters
iter
SequenceIter
Returns
GetBeginIter()
[Version("2.14")]
public SequenceIter GetBeginIter()
Returns
GetEndIter()
[Version("2.14")]
public SequenceIter GetEndIter()
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
GetIterAtPos(int)
[Version("2.14")]
public SequenceIter GetIterAtPos(int pos)
Parameters
pos
int
Returns
GetLength()
[Version("2.14")]
public int GetLength()
Returns
InsertBefore(SequenceIter, IntPtr)
[Version("2.14")]
public static SequenceIter InsertBefore(SequenceIter iter, IntPtr data)
Parameters
iter
SequenceIterdata
IntPtr
Returns
InsertSorted(IntPtr, CompareDataFunc)
[Version("2.14")]
public SequenceIter InsertSorted(IntPtr data, CompareDataFunc cmpFunc)
Parameters
data
IntPtrcmpFunc
CompareDataFunc
Returns
InsertSortedIter(IntPtr, SequenceIterCompareFunc)
[Version("2.14")]
public SequenceIter InsertSortedIter(IntPtr data, SequenceIterCompareFunc iterCmp)
Parameters
data
IntPtriterCmp
SequenceIterCompareFunc
Returns
IsEmpty()
[Version("2.48")]
public bool IsEmpty()
Returns
Lookup(IntPtr, CompareDataFunc)
[Version("2.28")]
public SequenceIter? Lookup(IntPtr data, CompareDataFunc cmpFunc)
Parameters
data
IntPtrcmpFunc
CompareDataFunc
Returns
LookupIter(IntPtr, SequenceIterCompareFunc)
[Version("2.28")]
public SequenceIter? LookupIter(IntPtr data, SequenceIterCompareFunc iterCmp)
Parameters
data
IntPtriterCmp
SequenceIterCompareFunc
Returns
Move(SequenceIter, SequenceIter)
[Version("2.14")]
public static void Move(SequenceIter src, SequenceIter dest)
Parameters
src
SequenceIterdest
SequenceIter
MoveRange(SequenceIter, SequenceIter, SequenceIter)
[Version("2.14")]
public static void MoveRange(SequenceIter dest, SequenceIter begin, SequenceIter end)
Parameters
dest
SequenceIterbegin
SequenceIterend
SequenceIter
Prepend(IntPtr)
[Version("2.14")]
public SequenceIter Prepend(IntPtr data)
Parameters
data
IntPtr
Returns
RangeGetMidpoint(SequenceIter, SequenceIter)
[Version("2.14")]
public static SequenceIter RangeGetMidpoint(SequenceIter begin, SequenceIter end)
Parameters
begin
SequenceIterend
SequenceIter
Returns
Remove(SequenceIter)
[Version("2.14")]
public static void Remove(SequenceIter iter)
Parameters
iter
SequenceIter
RemoveRange(SequenceIter, SequenceIter)
[Version("2.14")]
public static void RemoveRange(SequenceIter begin, SequenceIter end)
Parameters
begin
SequenceIterend
SequenceIter
Search(IntPtr, CompareDataFunc)
[Version("2.14")]
public SequenceIter Search(IntPtr data, CompareDataFunc cmpFunc)
Parameters
data
IntPtrcmpFunc
CompareDataFunc
Returns
SearchIter(IntPtr, SequenceIterCompareFunc)
[Version("2.14")]
public SequenceIter SearchIter(IntPtr data, SequenceIterCompareFunc iterCmp)
Parameters
data
IntPtriterCmp
SequenceIterCompareFunc
Returns
Set(SequenceIter, IntPtr)
[Version("2.14")]
public static void Set(SequenceIter iter, IntPtr data)
Parameters
iter
SequenceIterdata
IntPtr
Sort(CompareDataFunc)
[Version("2.14")]
public void Sort(CompareDataFunc cmpFunc)
Parameters
cmpFunc
CompareDataFunc
SortChanged(SequenceIter, CompareDataFunc)
[Version("2.14")]
public static void SortChanged(SequenceIter iter, CompareDataFunc cmpFunc)
Parameters
iter
SequenceItercmpFunc
CompareDataFunc
SortChangedIter(SequenceIter, SequenceIterCompareFunc)
[Version("2.14")]
public static void SortChangedIter(SequenceIter iter, SequenceIterCompareFunc iterCmp)
Parameters
iter
SequenceIteriterCmp
SequenceIterCompareFunc
SortIter(SequenceIterCompareFunc)
[Version("2.14")]
public void SortIter(SequenceIterCompareFunc cmpFunc)
Parameters
cmpFunc
SequenceIterCompareFunc
Swap(SequenceIter, SequenceIter)
[Version("2.14")]
public static void Swap(SequenceIter a, SequenceIter b)