Oolite 1.91.0.7668-250429-8542c40
All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Modules Pages
OOShipGroup(OOInspectorExtensions) Category Reference

Instance Methods

(NSString *) - inspDescription [implementation]
 
(NSString *) - inspBasicIdentityLine [implementation]
 
(NSArray *) - debugInspectorModules [implementation]
 

Detailed Description

Definition at line 110 of file OOShipGroupDebugInspectorModule.m.

Method Documentation

◆ debugInspectorModules

- (NSArray *) debugInspectorModules
implementation

Extends class OOShipGroup.

Definition at line 130 of file OOShipGroupDebugInspectorModule.m.

131{
132 return [[super debugInspectorModules] arrayByAddingInspectorModuleOfClass:[OOShipGroupDebugInspectorModule class]
133 forObject:(id)self];
134}

References debugInspectorModules.

Referenced by debugInspectorModules.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ inspBasicIdentityLine

- (NSString *) inspBasicIdentityLine
implementation

Extends class OOShipGroup.

Definition at line 122 of file OOShipGroupDebugInspectorModule.m.

123{
124 NSString *name = [self name];
125 if (name != nil) return [NSString stringWithFormat:@"Group \"%@\"", name];
126 else return @"Anonymous group";
127}
return nil

References inspBasicIdentityLine, OOShipGroup::name, and nil.

Referenced by inspBasicIdentityLine.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ inspDescription

- (NSString *) inspDescription
implementation

Extends class OOShipGroup.

Definition at line 112 of file OOShipGroupDebugInspectorModule.m.

113{
114 NSString *name = [self name];
115 if (name != nil) name = [NSString stringWithFormat:@"\"%@\"", name];
116 else name = @"anonymous";
117
118 return [NSString stringWithFormat:@"%@, %lu ships", name, [self count]];
119}

References OOShipGroup::count, inspDescription, OOShipGroup::name, and nil.

Referenced by inspDescription.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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