GBIvarData Class Reference

Inherits from GBModelBase : NSObject
Declared in GBIvarData.h<br />GBIvarData.m

Overview

Describes an ivar

Tasks

Initialization & disposal

Ivar data

Other Methods

Class Methods

ivarDataWithComponents:

Returns autoreleased instance of the ivar data from given array of components.

+ (id)ivarDataWithComponents:(NSArray *)components

Parameters

components
Components array to setup the data from.

Return Value

Returns initialized instance.

Discussion

Returns autoreleased instance of the ivar data from given array of components.

Components array should contain all ivar type tokens and ivar name as the last entry. Types are copied to ivarTypes property and name to ivarName property.

Exceptions

NSException
Thrown if the given array of components is nil or has only one entry.

Declared In

GBIvarData.h
GBIvarData.m

Instance Methods

description

initWithDataFromComponents:

Initializes the ivar data from given array of components.

- (id)initWithDataFromComponents:(NSArray *)components

Parameters

components
Components array to setup the data from.

Return Value

Returns initialized instance.

Discussion

Initializes the ivar data from given array of components.

Components array should contain all ivar type tokens and ivar name as the last entry. Types are copied to ivarTypes property and name to ivarName property.

Exceptions

NSException
Thrown if the given array of components is nil or has only one entry.

Declared In

GBIvarData.h
GBIvarData.m

mergeDataFromObject:

Properties

ivarTypes

The array of all ivar type tokens in the order of parsing.

@property (retain) NSArray *ivarTypes

Discussion

The array of all ivar type tokens in the order of parsing.

Declared In

GBIvarData.h

nameOfIvar

The name of the ivar.

@property (retain) NSString *nameOfIvar

Discussion

The name of the ivar.

Declared In

GBIvarData.h