GBClassData Class Reference

Inherits from GBModelBase : NSObject
Conforms to GBObjectDataProviding
Declared in GBClassData.h<br />GBClassData.m

Overview

Describes a class.

Tasks

Initialization & disposal

Class data

Other Methods

Class Methods

classDataWithName:

Returns autoreleased instance of the class data with the given name.

+ (id)classDataWithName:(NSString *)name

Parameters

name
The name of the class.

Return Value

Returns initialized object.

Discussion

Returns autoreleased instance of the class data with the given name.

Exceptions

NSException
Thrown if the given name is nil or empty.

Declared In

GBClassData.h
GBClassData.m

Instance Methods

description

initWithName:

Initializes the class with the given name.

- (id)initWithName:(NSString *)name

Parameters

name
The name of the class.

Return Value

Returns initialized object.

Discussion

Initializes the class with the given name.

This is the designated initializer.

Exceptions

NSException
Thrown if the given name is nil or empty.

Declared In

GBClassData.h
GBClassData.m

mergeDataFromObject:

Properties

adoptedProtocols

Class's adopted protocols, available via GBAdoptedProtocolsProvider .

@property (readonly) GBAdoptedProtocolsProvider *adoptedProtocols

Discussion

Class's adopted protocols, available via GBAdoptedProtocolsProvider .

Declared In

GBClassData.h

ivars

Class's ivars, available via GBIvarsProvider .

@property (readonly) GBIvarsProvider *ivars

Discussion

Class's ivars, available via GBIvarsProvider .

Declared In

GBClassData.h

methods

Class's methods, available via GBMethodsProvider .

@property (readonly) GBMethodsProvider *methods

Discussion

Class's methods, available via GBMethodsProvider .

Declared In

GBClassData.h

nameOfClass

The name of the class.

@property (readonly) NSString *nameOfClass

Discussion

The name of the class.

Declared In

GBClassData.h

nameOfSuperclass

The name of the superclass or nil if this is root class.

@property (copy) NSString *nameOfSuperclass

Discussion

The name of the superclass or nil if this is root class.

Declared In

GBClassData.h

superclass

Superclass object if known object or nil if nameOfSuperclass is nil or doesn't point to a known class.

@property (retain) GBClassData *superclass

Discussion

Superclass object if known object or nil if nameOfSuperclass is nil or doesn't point to a known class.

Declared In

GBClassData.h