Lynkeos  1.2
Public Member Functions | Protected Attributes
MyImageListEnumerator Class Reference

Enumerator on MyImageList. More...

#import <MyImageListEnumerator.h>

Inheritance diagram for MyImageListEnumerator:
Inheritance graph
[legend]

List of all members.

Public Member Functions

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

Protected Attributes

NSArray * _itemList
int _listSize
int _itemIndex
MyMovie_currentMovie
int _movieSize
int _movieIndex
int _step
NSRecursiveLock * _lock

Detailed Description

Enumerator on MyImageList.

This enumerator scans all the MyImageListItem images in a MyImageList. When the list contains a movie, it scans each MyMovieImage inside the MyMovie instance.


Member Function Documentation

- (id) initWithImageList: (NSArray*)  list

Simplified initializer.

Parameters:
listThe MyImageListItem array do scan

It initializes a direct enumerator starting at the first item of the list.

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

Base initializer.

Parameters:
listThe MyImageListItem array do scan
itemThe item to start with. If nil, the first or last (if reverse enumerator) is taken
directDirect or reverse enumerator

It initializes a MyImageListEnumerator whith a custom starting point and a custom scanning direction.

References _currentMovie, _itemIndex, _itemList, _listSize, _lock, _movieIndex, _movieSize, _step, MyMovie::indexOfImage:, and MyMovie::numberOfImages.


Member Data Documentation

- (MyMovie*) _currentMovie [protected]
- (int) _itemIndex [protected]
- (NSArray*) _itemList [protected]
- (int) _listSize [protected]
- (NSRecursiveLock*) _lock [protected]
- (int) _movieIndex [protected]
- (int) _movieSize [protected]
- (int) _step [protected]

The documentation for this class was generated from the following files: