Table of Contents

Class NativeBookkeeper<T>

Namespace
Zorro.Core
Assembly
Zorro.Core.Runtime.dll
public class NativeBookkeeper<T> : IDisposable, INativeBookkeeper

Type Parameters

T
Inheritance
NativeBookkeeper<T>
Implements
Derived
Inherited Members
Extension Methods

Constructors

NativeBookkeeper(int)

public NativeBookkeeper(int defaultCapacity)

Parameters

defaultCapacity int

Fields

m_bookKeepingRecords

protected List<BookkeepingRecord> m_bookKeepingRecords

Field Value

List<BookkeepingRecord>

m_bookkeepingIndexer

protected BidirectionalDictionary<T, int> m_bookkeepingIndexer

Field Value

BidirectionalDictionary<T, int>

m_keys

protected PerformantList<T> m_keys

Field Value

PerformantList<T>

recordsCount

protected int recordsCount

Field Value

int

Properties

Count

public int Count { get; }

Property Value

int

Methods

Add(T)

public virtual int Add(T newEntry)

Parameters

newEntry T

Returns

int

Contains(T)

public bool Contains(T mesh)

Parameters

mesh T

Returns

bool

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public virtual void Dispose()

GetFromIndex(int)

public T GetFromIndex(int i)

Parameters

i int

Returns

T

GetIndex(T)

public int GetIndex(T entry)

Parameters

entry T

Returns

int

GetKeyFromIndex(int)

public T GetKeyFromIndex(int index)

Parameters

index int

Returns

T

GetKeyList()

public PerformantList<T> GetKeyList()

Returns

PerformantList<T>

RegisterRecord(BookkeepingRecord)

public void RegisterRecord(BookkeepingRecord record)

Parameters

record BookkeepingRecord

Remove(T)

public virtual BookkeperRemovalInfo Remove(T entry)

Parameters

entry T

Returns

BookkeperRemovalInfo