Oolite 1.91.0.7645-241119-222d325
|
#include <OOShipGroup.h>
Instance Methods | |
(id) | - init |
(id) | - initWithName: |
(NSString *) | - name |
(void) | - setName: |
(ShipEntity *) | - leader |
(void) | - setLeader: |
(NSEnumerator *) | - objectEnumerator |
(NSEnumerator *) | - mutationSafeEnumerator |
(NSSet *) | - members |
(NSArray *) | - memberArray |
(NSSet *) | - membersExcludingLeader |
(NSArray *) | - memberArrayExcludingLeader |
(BOOL) | - containsShip: |
(BOOL) | - addShip: |
(BOOL) | - removeShip: |
(NSUInteger) | - count |
(BOOL) | - isEmpty |
(void) | - dealloc [implementation] |
(NSString *) | - descriptionComponents [implementation] |
(BOOL) | - resizeTo: [implementation] |
(void) | - cleanUp [implementation] |
(NSUInteger) | - updateCount [implementation] |
(NSUInteger) | - countByEnumeratingWithState:objects:count: [implementation] |
(BOOL) | - suppressClangStuff [implementation] |
(NSString *) | - inspDescription [implementation] |
(NSString *) | - inspBasicIdentityLine [implementation] |
(NSArray *) | - debugInspectorModules [implementation] |
(jsval) | - oo_jsValueInContext: [implementation] |
(void) | - oo_clearJSSelf: [implementation] |
Instance Methods inherited from OOWeakRefObject | |
(id) | - weakSelf |
(id) | - weakRetain [implementation] |
(void) | - weakRefDied: [implementation] |
Instance Methods inherited from <OOWeakReferenceSupport> | |
(id) | - OO_RETURNS_RETAINED |
Class Methods | |
(instancetype) | + groupWithName: |
(instancetype) | + groupWithName:leader: |
(static id) | + ShipGroupIterate [implementation] |
Protected Attributes | |
< NSFastEnumeration > unsigned long | _updateCount |
OOWeakReference ** | _members |
OOWeakReference * | _leader |
NSString * | _name |
struct JSObject * | _jsSelf |
Protected Attributes inherited from OOWeakRefObject | |
OOWeakReference * | weakSelf |
Definition at line 33 of file OOShipGroup.h.
- (BOOL) addShip: | (ShipEntity *) | ship |
Definition at line 54 of file OOShipGroup.m.
|
implementation |
Provided by category OOShipGroup(Private).
Definition at line 54 of file OOShipGroup.m.
Referenced by countByEnumeratingWithState:objects:count:.
- (BOOL) containsShip: | (ShipEntity *) | ship |
Definition at line 54 of file OOShipGroup.m.
- (NSUInteger) count |
Definition at line 54 of file OOShipGroup.m.
|
implementation |
Definition at line 473 of file OOShipGroup.m.
References OOShipGroupEnumerator::_cleanupNeeded, OOShipGroupEnumerator::_considerCleanup, OOShipGroupEnumerator::_group, OOShipGroupEnumerator::_index, _members, _updateCount, OOShipGroupEnumerator::_updateCount, cleanUp, and nil.
|
implementation |
Reimplemented from OOWeakRefObject.
Definition at line 54 of file OOShipGroup.m.
|
implementation |
Provided by category OOShipGroup(OOInspectorExtensions).
Definition at line 1 of file OOShipGroupDebugInspectorModule.m.
|
implementation |
Definition at line 54 of file OOShipGroup.m.
+ (instancetype) groupWithName: | (NSString *) | name |
Definition at line 54 of file OOShipGroup.m.
+ (instancetype) groupWithName: | (NSString *) | name | |
leader: | (ShipEntity *) | leader |
Definition at line 54 of file OOShipGroup.m.
- (id) init |
Definition at line 54 of file OOShipGroup.m.
- (id) initWithName: | (NSString *) | name |
Definition at line 54 of file OOShipGroup.m.
|
implementation |
Provided by category OOShipGroup(OOInspectorExtensions).
Definition at line 1 of file OOShipGroupDebugInspectorModule.m.
|
implementation |
Provided by category OOShipGroup(OOInspectorExtensions).
Definition at line 1 of file OOShipGroupDebugInspectorModule.m.
- (BOOL) isEmpty |
Definition at line 54 of file OOShipGroup.m.
- (ShipEntity *) leader |
Definition at line 54 of file OOShipGroup.m.
Referenced by ShipGroupAddShip(), and ShipGroupGetProperty().
- (NSArray *) memberArray |
Definition at line 54 of file OOShipGroup.m.
Referenced by ShipGroupGetProperty().
- (NSArray *) memberArrayExcludingLeader |
Definition at line 54 of file OOShipGroup.m.
Referenced by ShipGetProperty().
- (NSSet *) members |
Definition at line 54 of file OOShipGroup.m.
- (NSSet *) membersExcludingLeader |
Definition at line 54 of file OOShipGroup.m.
- (NSEnumerator *) mutationSafeEnumerator |
Definition at line 54 of file OOShipGroup.m.
- (NSString *) name |
Definition at line 54 of file OOShipGroup.m.
Referenced by ShipGroupGetProperty().
- (NSEnumerator *) objectEnumerator |
Definition at line 54 of file OOShipGroup.m.
|
implementation |
Provided by category OOShipGroup(OOJavaScriptExtensions).
Definition at line 353 of file OOJSShipGroup.m.
|
implementation |
Provided by category OOShipGroup(OOJavaScriptExtensions).
Definition at line 353 of file OOJSShipGroup.m.
- (BOOL) removeShip: | (ShipEntity *) | ship |
Definition at line 54 of file OOShipGroup.m.
|
implementation |
Provided by category OOShipGroup(Private).
Definition at line 54 of file OOShipGroup.m.
- (void) setLeader: | (ShipEntity *) | leader |
Definition at line 54 of file OOShipGroup.m.
Referenced by ShipGroupSetProperty().
- (void) setName: | (NSString *) | name |
Definition at line 54 of file OOShipGroup.m.
Referenced by ShipGroupSetProperty().
|
implementation |
Definition at line 473 of file OOShipGroup.m.
|
implementation |
Definition at line 473 of file OOShipGroup.m.
|
implementation |
Provided by category OOShipGroup(Private).
Definition at line 54 of file OOShipGroup.m.
|
protected |
Definition at line 45 of file OOShipGroup.h.
|
protected |
Definition at line 42 of file OOShipGroup.h.
|
protected |
Definition at line 41 of file OOShipGroup.h.
Referenced by countByEnumeratingWithState:objects:count:.
|
protected |
Definition at line 43 of file OOShipGroup.h.
|
protected |
Definition at line 40 of file OOShipGroup.h.
Referenced by countByEnumeratingWithState:objects:count:.