Oolite 1.91.0.7645-241119-222d325
Loading...
Searching...
No Matches
OOShipGroupEnumerator Class Reference
+ Inheritance diagram for OOShipGroupEnumerator:
+ Collaboration diagram for OOShipGroupEnumerator:

Instance Methods

(id) - initWithShipGroup:
 
(NSUInteger) - index
 
(void) - setPerformCleanup:
 
(void) - dealloc [implementation]
 
(id) - nextObject [implementation]
 

Public Attributes

OOShipGroup_group
 
NSUInteger _index
 
NSUInteger _updateCount
 
BOOL _considerCleanup
 
BOOL _cleanupNeeded
 

Detailed Description

Definition at line 48 of file OOShipGroup.m.

Method Documentation

◆ dealloc

- (void) dealloc
implementation

Definition at line 473 of file OOShipGroup.m.

579{
581
582 [super dealloc];
583}
#define DESTROY(x)
Definition OOCocoa.h:77
OOShipGroup * _group
Definition OOShipGroup.m:52

◆ index

- (NSUInteger) index

Definition at line 473 of file OOShipGroup.m.

593{
594 return _index;
595}

◆ initWithShipGroup:

- (id) initWithShipGroup: (OOShipGroup *) group

Definition at line 473 of file OOShipGroup.m.

563 :(OOShipGroup *)group
564{
565 assert(group != nil);
566
567 if ((self = [super init]))
568 {
569 _group = [group retain];
570 _considerCleanup = YES;
571 _updateCount = [_group updateCount];
572 }
573
574 return self;
575}
return nil
NSUInteger _updateCount
Definition OOShipGroup.m:53

◆ nextObject

- (id) nextObject
implementation

Definition at line 473 of file OOShipGroup.m.

587{
588 return ShipGroupIterate(self);
589}
static id ShipGroupIterate(OOShipGroupEnumerator *enumerator)

◆ setPerformCleanup:

- (void) setPerformCleanup: (BOOL) flag

Definition at line 473 of file OOShipGroup.m.

598 :(BOOL)flag
599{
600 _considerCleanup = flag;
601}

Member Data Documentation

◆ _cleanupNeeded

- (BOOL) _cleanupNeeded

Definition at line 54 of file OOShipGroup.m.

Referenced by OOShipGroup::countByEnumeratingWithState:objects:count:.

◆ _considerCleanup

- (BOOL) _considerCleanup

Definition at line 54 of file OOShipGroup.m.

Referenced by OOShipGroup::countByEnumeratingWithState:objects:count:.

◆ _group

- (OOShipGroup*) _group

Definition at line 52 of file OOShipGroup.m.

Referenced by OOShipGroup::countByEnumeratingWithState:objects:count:.

◆ _index

- (NSUInteger) _index

Definition at line 53 of file OOShipGroup.m.

Referenced by OOShipGroup::countByEnumeratingWithState:objects:count:.

◆ _updateCount

- (NSUInteger) _updateCount

Definition at line 53 of file OOShipGroup.m.

Referenced by OOShipGroup::countByEnumeratingWithState:objects:count:.


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