Naanou.Common.KeyStorage
Class Enumerator

Enumerator

Field Summary
Naanou.Common.KeyContainer curr
int cursor
Naanou.Common.KeyStorage.Collection temp

Constructor Summary
Enumerator(Naanou.Common.KeyStorage.Collection col)
         Constructor

Property Summary
Naanou.Common.KeyContainer Current
         Gets current item

Method Summary
bool MoveNext()
         Move to next item
void Reset()
         Reset enumerator

Methods inherited from class System.Object
Equals, Finalize, GetHashCode, GetType, MemberwiseClone, ToString


Field Detail

curr

private Naanou.Common.KeyContainer curr


cursor

private int cursor


temp

private Naanou.Common.KeyStorage.Collection temp

Constructor Detail

Enumerator

public Enumerator(Naanou.Common.KeyStorage.Collection col)

Constructor

Parameters:
col - Collection to enumerate
Property Detail

Current

public Naanou.Common.KeyContainer Current

Gets current item

Method Detail

MoveNext

public bool MoveNext()

Move to next item

Returns:
Returns true if it's still pointing to valid data, False if it has run out of data

Reset

public void Reset()

Reset enumerator