Namespace: Consultingwerk.Framework.Collections
Class 
RowidDictionaryEnumerator Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

File:RowidDictionaryEnumerator
Purpose:Enumerator for the ABL Primitive Dictionary Classes
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Wed Jan 25 23:32:21 CET 2012
Notes:Does not implement IEnumerator as the Current property
cannot be of any common type



Top Method Summary
Options Name Purpose
# ListChangedHandler (Object, ListChangedEventArgs) Event handler for the ListChanged event of the IEnumerable instance
+ LOGICAL MoveNext () Moves the enumerator to the next item
+ Reset () Resets the Enumerator (starts enumerating from the first item on)

Top Constructor Summary
Options Name Purpose
+ RowidDictionaryEnumerator (AblPrimitiveDictionary) Constructor for the DictionaryEnumerator class

Top Property Summary
Options Name Purpose
+ ROWID Current Returns the current item in the Dictionary
+ Consultingwerk.Framework.Base.AblPrimitiveDictionary Dictionary Returns the Dictionary enumerated by this ListEnumerator instance
+ LOGICAL ListChanged Returns if the Dictionary has changed and the Enumerator needs to be Reset()


Method Detail
Top

PROTECTED ListChangedHandler (Object, ListChangedEventArgs)

Purpose: Event handler for the ListChanged event of the IEnumerable instance
Notes: Requires the ISupportsListChanged interface to by implemented by the List

Parameters:
sender Progress.Lang.Object
The sender of the event
e Consultingwerk.Framework.Base.ListChangedEventArgs
The ListChangedEventArgs object instance with the data of the ListChanged event
Top

PUBLIC LOGICAL MoveNext ()

Purpose: Moves the enumerator to the next item
Notes:

Returns LOGICAL
True when the next item is available, false when not.
Top

PUBLIC Reset ()

Purpose: Resets the Enumerator (starts enumerating from the first item on)
Notes:



Constructor Detail
Top

PUBLIC RowidDictionaryEnumerator (AblPrimitiveDictionary)

Purpose: Constructor for the DictionaryEnumerator class
Notes:

Parameters:
poDictionary Consultingwerk.Framework.Base.AblPrimitiveDictionary
The AblPrimitiveDictionary to Enumerate


Property Detail
Top

PUBLIC ROWID Current

Purpose: Returns the current item in the Dictionary
Notes:

Returns ROWID
Top

PUBLIC Consultingwerk.Framework.Base.AblPrimitiveDictionary Dictionary

Purpose: Returns the Dictionary enumerated by this ListEnumerator instance
Notes:

Returns Consultingwerk.Framework.Base.AblPrimitiveDictionary
Top

PUBLIC LOGICAL ListChanged

Purpose: Returns if the Dictionary has changed and the Enumerator needs to be Reset()
Notes:

Returns LOGICAL


©2006-2016 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       26.08.2016 08:28:46