Lynkeos  1.2
Instance Methods | Protected Attributes | List of all members
MyImageListEnumerator Class Reference

Enumerator on MyImageList. More...

#import <MyImageListEnumerator.h>

Inheritance diagram for MyImageListEnumerator:
Inheritance graph
[legend]

Instance Methods

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

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.

Method Documentation

◆ initWithImageList:()

- (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.

◆ initWithImageList:startAt:directSense:()

- (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

◆ _currentMovie

- (MyMovie*) _currentMovie
protected

◆ _itemIndex

- (int) _itemIndex
protected

◆ _itemList

- (NSArray*) _itemList
protected

◆ _listSize

- (int) _listSize
protected

◆ _lock

- (NSRecursiveLock*) _lock
protected

◆ _movieIndex

- (int) _movieIndex
protected

◆ _movieSize

- (int) _movieSize
protected

◆ _step

- (int) _step
protected

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