MyImageListEnumerator Class Reference
[Model classes]

Enumerator on MyImageList. More...

#import <MyImageListEnumerator.h>

Inheritance diagram for MyImageListEnumerator:

Inheritance graph
[legend]
Collaboration diagram for MyImageListEnumerator:

Collaboration graph
[legend]

List of all members.

Public Member Functions

(id) - initWithImageList:startAt:directSense:skipUnselected:
 Base initializer.
(id) - initWithImageList:
 Simplified initializer.

Protected Attributes

NSArray_itemList
 The list of items to enumerate.
int _listSize
 Number of first level items.
int _itemIndex
 Index of current first level item.
MyImageListItem_currentContainer
 Container being enumerated if any.
int _containerSize
 Number of items in the container.
int _containerIndex
 Index of current item in the container.
int _step
 Sense of enumeration (1 or -1).
BOOL _skipUnselected
 Do not enumerate unselected items.
NSRecursiveLock_lock
 Lock for multithreads access.


Detailed Description

Enumerator on MyImageList.

This enumerator scans all the MyImageListItem images in a MyImageList. When the list contains a container, it scans each items inside it.


Member Function Documentation

- (id) initWithImageList: (NSArray*)  list
startAt: (MyImageListItem*)  item
directSense: (BOOL)  direct
skipUnselected: (BOOL)  skip 

Base initializer.

Parameters:
list The MyImageListItem array do scan
item The item to start with. If nil, the first or last (if reverse enumerator) is taken
direct Direct or reverse enumerator
skip Whether to skip unselected images It initializes a MyImageListEnumerator whith a custom starting point and a custom scanning direction.

- (id) initWithImageList: (NSArray*)  list  

Simplified initializer.

Parameters:
list The MyImageListItem array to scan It initializes a direct enumerator for all items starting at the first item of the list.


The documentation for this class was generated from the following files:
Generated on Sat Mar 22 17:44:51 2008 for Lynkeos by  doxygen 1.5.4