Table of Contents

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

SequenceOwnedHandle

Methods

Append(IntPtr)

[Version("2.14")]
public SequenceIter Append(IntPtr data)

Parameters

data IntPtr

Returns

SequenceIter

Equals(Sequence?)

public bool Equals(Sequence? other)

Parameters

other Sequence

Returns

bool

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

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 SequenceIter
end SequenceIter
func Func

Free()

[Version("2.14")]
public void Free()

Get(SequenceIter)

[Version("2.14")]
public static IntPtr Get(SequenceIter iter)

Parameters

iter SequenceIter

Returns

IntPtr

GetBeginIter()

[Version("2.14")]
public SequenceIter GetBeginIter()

Returns

SequenceIter

GetEndIter()

[Version("2.14")]
public SequenceIter GetEndIter()

Returns

SequenceIter

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

SequenceIter

GetLength()

[Version("2.14")]
public int GetLength()

Returns

int

InsertBefore(SequenceIter, IntPtr)

[Version("2.14")]
public static SequenceIter InsertBefore(SequenceIter iter, IntPtr data)

Parameters

iter SequenceIter
data IntPtr

Returns

SequenceIter

InsertSorted(IntPtr, CompareDataFunc)

[Version("2.14")]
public SequenceIter InsertSorted(IntPtr data, CompareDataFunc cmpFunc)

Parameters

data IntPtr
cmpFunc CompareDataFunc

Returns

SequenceIter

InsertSortedIter(IntPtr, SequenceIterCompareFunc)

[Version("2.14")]
public SequenceIter InsertSortedIter(IntPtr data, SequenceIterCompareFunc iterCmp)

Parameters

data IntPtr
iterCmp SequenceIterCompareFunc

Returns

SequenceIter

IsEmpty()

[Version("2.48")]
public bool IsEmpty()

Returns

bool

Lookup(IntPtr, CompareDataFunc)

[Version("2.28")]
public SequenceIter? Lookup(IntPtr data, CompareDataFunc cmpFunc)

Parameters

data IntPtr
cmpFunc CompareDataFunc

Returns

SequenceIter

LookupIter(IntPtr, SequenceIterCompareFunc)

[Version("2.28")]
public SequenceIter? LookupIter(IntPtr data, SequenceIterCompareFunc iterCmp)

Parameters

data IntPtr
iterCmp SequenceIterCompareFunc

Returns

SequenceIter

Move(SequenceIter, SequenceIter)

[Version("2.14")]
public static void Move(SequenceIter src, SequenceIter dest)

Parameters

src SequenceIter
dest SequenceIter

MoveRange(SequenceIter, SequenceIter, SequenceIter)

[Version("2.14")]
public static void MoveRange(SequenceIter dest, SequenceIter begin, SequenceIter end)

Parameters

dest SequenceIter
begin SequenceIter
end SequenceIter

Prepend(IntPtr)

[Version("2.14")]
public SequenceIter Prepend(IntPtr data)

Parameters

data IntPtr

Returns

SequenceIter

RangeGetMidpoint(SequenceIter, SequenceIter)

[Version("2.14")]
public static SequenceIter RangeGetMidpoint(SequenceIter begin, SequenceIter end)

Parameters

begin SequenceIter
end SequenceIter

Returns

SequenceIter

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 SequenceIter
end SequenceIter

Search(IntPtr, CompareDataFunc)

[Version("2.14")]
public SequenceIter Search(IntPtr data, CompareDataFunc cmpFunc)

Parameters

data IntPtr
cmpFunc CompareDataFunc

Returns

SequenceIter

SearchIter(IntPtr, SequenceIterCompareFunc)

[Version("2.14")]
public SequenceIter SearchIter(IntPtr data, SequenceIterCompareFunc iterCmp)

Parameters

data IntPtr
iterCmp SequenceIterCompareFunc

Returns

SequenceIter

Set(SequenceIter, IntPtr)

[Version("2.14")]
public static void Set(SequenceIter iter, IntPtr data)

Parameters

iter SequenceIter
data 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 SequenceIter
cmpFunc CompareDataFunc

SortChangedIter(SequenceIter, SequenceIterCompareFunc)

[Version("2.14")]
public static void SortChangedIter(SequenceIter iter, SequenceIterCompareFunc iterCmp)

Parameters

iter SequenceIter
iterCmp 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)

Parameters

a SequenceIter
b SequenceIter